Power fix

Fixes a bug with power draw in machines, where if they didn't have an overwritten process procedure they wouldn't draw power. Ex. Chem Masters. This fixes power draw for the safety tether
Safety tether now draws roughly balanced amount of power. draws 1kw default, drains about a fourth the apc cell's charge if unupgraded when teleporting.
This commit is contained in:
Haha26315
2022-09-12 08:43:56 -04:00
parent 1d1772e7e0
commit 9beae92ef3
4 changed files with 24 additions and 33 deletions
-2
View File
@@ -137,8 +137,6 @@
var/tether_number = GLOB.safety_tethers_list.len
priority_announce("[tether_number] tethers present.")
//If safety tethers are present, get one from the global list to teleport the body to if operational
if(tether_number > 0)
if(tether_number == 1)