mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-10 02:09:41 +00:00
Removed auto_use_power from process.
This commit is contained in:
@@ -14,11 +14,11 @@
|
|||||||
if (stat & (BROKEN|NOPOWER))
|
if (stat & (BROKEN|NOPOWER))
|
||||||
return
|
return
|
||||||
lit = !lit
|
lit = !lit
|
||||||
|
use_power = lit ? 1 : 0
|
||||||
update_icon()
|
update_icon()
|
||||||
|
|
||||||
/obj/machinery/holosign/process()
|
/obj/machinery/holosign/process()
|
||||||
if(lit)
|
return
|
||||||
auto_use_power()
|
|
||||||
|
|
||||||
/obj/machinery/holosign/update_icon()
|
/obj/machinery/holosign/update_icon()
|
||||||
if (!lit)
|
if (!lit)
|
||||||
@@ -29,6 +29,7 @@
|
|||||||
/obj/machinery/holosign/power_change()
|
/obj/machinery/holosign/power_change()
|
||||||
if (stat & NOPOWER)
|
if (stat & NOPOWER)
|
||||||
lit = 0
|
lit = 0
|
||||||
|
use_power = 0
|
||||||
update_icon()
|
update_icon()
|
||||||
|
|
||||||
/obj/machinery/holosign/surgery
|
/obj/machinery/holosign/surgery
|
||||||
|
|||||||
Reference in New Issue
Block a user