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:
Luc
2021-10-04 12:41:20 -04:00
committed by GitHub
co-authored by SabreML
parent a4bfdb0508
commit 428494386b
+2 -2
View File
@@ -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