THIS FIXES IT (well it should :) )
This commit is contained in:
@@ -107,7 +107,7 @@
|
||||
message.answered = answer_index
|
||||
message.answer_callback.InvokeAsync()
|
||||
if ("callShuttle")
|
||||
if (!authenticated(usr))
|
||||
if (!authenticated(usr) || !SSshuttle.canEvac(usr, TRUE))
|
||||
return
|
||||
var/reason = trim(params["reason"], MAX_MESSAGE_LEN)
|
||||
if (length(reason) < CALL_SHUTTLE_REASON_LENGTH)
|
||||
@@ -355,10 +355,10 @@
|
||||
data["shuttleCalled"] = FALSE
|
||||
data["shuttleLastCalled"] = FALSE
|
||||
|
||||
data["alertLevel"] = GLOB.security_level
|
||||
data["alertLevel"] = NUM2SECLEVEL(GLOB.security_level)
|
||||
data["authorizeName"] = authorize_name
|
||||
data["canLogOut"] = !issilicon(user)
|
||||
data["shuttleCanEvacOrFailReason"] = SSshuttle.canEvac(user)
|
||||
data["shuttleCanEvacOrFailReason"] = SSshuttle.canEvac(user, TRUE)
|
||||
|
||||
if (authenticated_as_non_silicon_captain(user))
|
||||
data["canMessageAssociates"] = TRUE
|
||||
|
||||
Reference in New Issue
Block a user