Merge pull request #15154 from qweq12yt/test

[Fix] Fixes Space Heater behavior
This commit is contained in:
silicons
2021-09-19 11:06:15 -07:00
committed by GitHub
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