Fix remaining code that directly modified use_power to call update_use_power.

This commit is contained in:
Leshana
2020-04-22 20:47:15 -04:00
parent 93fb3f7865
commit 9bd2347966
7 changed files with 12 additions and 12 deletions
+3 -3
View File
@@ -301,7 +301,7 @@
last_change = world.time
active = 1
use_power = USE_POWER_ACTIVE
update_use_power(USE_POWER_ACTIVE)
for(var/item in holographic_objs)
derez(item)
@@ -362,7 +362,7 @@
last_gravity_change = world.time
active = 1
use_power = USE_POWER_IDLE
update_use_power(USE_POWER_IDLE)
if(A.has_gravity)
A.gravitychange(0)
@@ -377,4 +377,4 @@
linkedholodeck.gravitychange(1)
active = 0
use_power = USE_POWER_IDLE
update_use_power(USE_POWER_IDLE)