mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-28 15:47:15 +01:00
For real fixes smeses charge on construction
For real fixes smeses charge on construction Fixes https://github.com/tgstation/-tg-station/issues/14806
This commit is contained in:
@@ -81,7 +81,7 @@
|
||||
MC += PC.maxcharge
|
||||
C += PC.charge
|
||||
capacity = MC / (15000) * 1e6
|
||||
if(!charge)
|
||||
if(!initial(charge))
|
||||
charge = C / 15000 * 1e6
|
||||
|
||||
/obj/machinery/power/smes/attackby(obj/item/I, mob/user, params)
|
||||
|
||||
Reference in New Issue
Block a user