forked from fulpstation/fulpstation
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixes heretic ascension (fulpstation#1087)
* fixed 👍 * Reverts refactor
- Loading branch information
Showing
3 changed files
with
9 additions
and
2 deletions.
There are no files selected for viewing
2 changes: 1 addition & 1 deletion
2
...dules/features/antagonists/antag_datum.dm → ...odules/Z_edits/antag_edits/antag_datum.dm
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
// Removing self-assigning objectives until we have a policy on that | ||
/datum/antagonist/New() | ||
. = ..() | ||
..() | ||
can_assign_self_objectives = FALSE | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
// Removes the check for can_assign_self_objectives, since that'll always be FALSE here | ||
/datum/antagonist/heretic/can_ascend() | ||
for(var/datum/objective/must_be_done as anything in objectives) | ||
if(!must_be_done.check_completion()) | ||
return FALSE | ||
return TRUE |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters