fix space heaters

This commit is contained in:
qweq12yt
2021-09-15 18:16:04 -03:00
parent 1bce3461ec
commit 781a414c38
2 changed files with 6 additions and 4 deletions

View File

@@ -79,7 +79,7 @@
return 0
if(charge < amount)
return 0
charge = (charge - amount)
charge -= amount
if(!istype(loc, /obj/machinery/power/apc))
SSblackbox.record_feedback("tally", "cell_used", 1, type)
return 1