use_power var now uses a define to reflect it not being a bool (#1842)
This commit is contained in:
committed by
kevinz000
parent
c32da6e2cb
commit
9d5e51777b
@@ -13,7 +13,7 @@
|
||||
var/charge = 0
|
||||
var/atom/target = null
|
||||
|
||||
use_power = 0
|
||||
use_power = NO_POWER_USE
|
||||
idle_power_usage = 10
|
||||
active_power_usage = 300
|
||||
|
||||
@@ -153,7 +153,7 @@
|
||||
/* if((severity == 1)&&prob(1)&&prob(1))
|
||||
if(src.active)
|
||||
src.active = 0
|
||||
src.use_power = 1 */
|
||||
src.use_power = IDLE_POWER_USE */
|
||||
return 1
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user