use_power var now uses a define to reflect it not being a bool (#1842)

This commit is contained in:
CitadelStationBot
2017-06-30 22:41:59 -05:00
committed by kevinz000
parent c32da6e2cb
commit 9d5e51777b
103 changed files with 155 additions and 149 deletions
+2 -2
View File
@@ -57,7 +57,7 @@
last_change = world.time
active = (A != offline_program)
use_power = active+1
use_power = active ? ACTIVE_POWER_USE : IDLE_POWER_USE
for(var/obj/effect/holodeck_effect/HE in effects)
HE.deactivate(src)
@@ -108,4 +108,4 @@
if(!silent)
visible_message("The [obj.name] fades away!")
qdel(obj)
qdel(obj)