mirror of
https://github.com/Citadel-Station-13/Citadel-Station-13-RP.git
synced 2026-08-21 18:26:35 +01:00
check for the batterys path first please ty
This commit is contained in:
@@ -74,5 +74,6 @@
|
||||
return ..()
|
||||
|
||||
/obj/item/computer_hardware/battery_module/proc/charge_to_full()
|
||||
if(battery)
|
||||
battery.charge = battery.maxcharge
|
||||
if(ispath(battery))
|
||||
battery = new battery
|
||||
battery.charge = battery.maxcharge
|
||||
|
||||
Reference in New Issue
Block a user