Fixes closing APCs. (#9441)

This commit is contained in:
mikomyazaki
2020-07-24 00:46:34 +02:00
committed by GitHub
parent afdb91d9af
commit fe9c40b2f5
2 changed files with 7 additions and 1 deletions
+1 -1
View File
@@ -506,7 +506,7 @@
new /obj/item/module/power_control(loc)
else if (opened < COVER_REMOVED)
panel_open = FALSE
opened = COVER_OPENED
opened = COVER_CLOSED
update_icon()
else if (W.iscrowbar() && !((stat & BROKEN) || hacker) )
if(coverlocked && !(stat & MAINT))
+6
View File
@@ -0,0 +1,6 @@
author: mikomyazaki
delete-after: True
changes:
- bugfix: "APCs can be closed with a crowbar, again."