mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-23 03:57:13 +01:00
Makes it clear that central command has called the shuttle when cance… (#24355)
* makes it clear that central command has called the shuttle when cancel shuttle is used from the admin panel. * DGamerL review Co-authored-by: DGamerL <108773801+DGamerL@users.noreply.github.com> * Furrior review Co-authored-by: Mikhail G. <furiorg@gmail.com> * Furrior review part 2 * changeed all mentions of cancel(null, TRUE) to cancel(byCC = TRUE) * missed one --------- Co-authored-by: Code-Lyoko0 <113879982+Code-Lyoko0@users.noreply.github.com> Co-authored-by: DGamerL <108773801+DGamerL@users.noreply.github.com> Co-authored-by: Mikhail G. <furiorg@gmail.com>
This commit is contained in:
co-authored by
DGamerL
Mikhail G.
Code-Lyoko0
parent
b1d14b0c99
commit
60de9f9b8f
@@ -343,13 +343,12 @@
|
||||
if("2")
|
||||
if(SSshuttle.emergency.mode >= SHUTTLE_DOCKED)
|
||||
return
|
||||
SSshuttle.emergency.cancel(byCC = TRUE)
|
||||
switch(SSshuttle.emergency.mode)
|
||||
if(SHUTTLE_CALL)
|
||||
SSshuttle.emergency.cancel()
|
||||
log_admin("[key_name(usr)] sent the Emergency Shuttle back")
|
||||
message_admins("<span class='adminnotice'>[key_name_admin(usr)] sent the Emergency Shuttle back</span>")
|
||||
else
|
||||
SSshuttle.emergency.cancel()
|
||||
log_admin("[key_name(usr)] called the Emergency Shuttle")
|
||||
message_admins("<span class='adminnotice'>[key_name_admin(usr)] called the Emergency Shuttle to the station</span>")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user