mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2025-12-25 09:41:29 +00:00
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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user