mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-30 23:48:28 +01:00
when the storage unit is SSUs
ensures the unit can still be interacted with as usual in non-help intent even when the unit isn't operational. Co-authored-by: SabreML <57483089+SabreML@users.noreply.github.com>
This commit is contained in:
@@ -312,9 +312,9 @@
|
||||
if(shocked)
|
||||
if(shock(user, 100))
|
||||
return
|
||||
if (user.a_intent != INTENT_HELP)
|
||||
return ..()
|
||||
if(!is_operational())
|
||||
if(user.a_intent != INTENT_HELP)
|
||||
return ..()
|
||||
if(panel_open)
|
||||
to_chat(usr, "<span class='warning'>Close the maintenance panel first.</span>")
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user