Shadowling "Extend Shuttle" prevents recall

The Shadowling ability "Extend Shuttle" now prevents the shuttle from
being recalled.
- The announcement when the ability is successful now also informs the
crew of this inability to recall.

Additionally, attempts to recall a shuttle which cannot be recalled due
to the canRecall var will no longer be logged since they don't succeed.
This commit is contained in:
FalseIncarnate
2017-04-07 02:43:01 -04:00
parent c6abe7822b
commit 971cc07d04
2 changed files with 4 additions and 1 deletions

View File

@@ -160,6 +160,8 @@ var/const/CALL_SHUTTLE_REASON_LENGTH = 12
/datum/controller/process/shuttle/proc/canRecall()
if(emergency.mode != SHUTTLE_CALL)
return
if(!emergency.canRecall)
return
if(ticker.mode.name == "meteor")
return
if(seclevel2num(get_security_level()) >= SEC_LEVEL_RED)