mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-11 18:53:06 +00:00
Merge pull request #6056 from mwerezak/dev-fixes
Fixes firedoors not opening
This commit is contained in:
@@ -190,7 +190,7 @@
|
|||||||
|
|
||||||
/obj/machinery/door/firedoor/open(var/forced = 0)
|
/obj/machinery/door/firedoor/open(var/forced = 0)
|
||||||
if (!forced)
|
if (!forced)
|
||||||
if (stat & BROKEN|NOPOWER)
|
if (stat & (BROKEN|NOPOWER))
|
||||||
return //needs power to open unless it was forced
|
return //needs power to open unless it was forced
|
||||||
else
|
else
|
||||||
use_power(360)
|
use_power(360)
|
||||||
|
|||||||
Reference in New Issue
Block a user