mirror of
https://github.com/Citadel-Station-13/Citadel-Station-13-RP.git
synced 2026-08-23 00:27:00 +01:00
a
This commit is contained in:
@@ -64,7 +64,9 @@
|
||||
/obj/item/weapon/computer_hardware/battery_module/Initialize(mapload)
|
||||
if(ispath(battery))
|
||||
battery = new battery
|
||||
battery.maxcharge = battery.charge = battery_rating
|
||||
if(battery)
|
||||
battery.maxcharge = battery_rating
|
||||
battery.charge = 0
|
||||
return ..()
|
||||
|
||||
/obj/item/weapon/computer_hardware/battery_module/Destroy()
|
||||
|
||||
Reference in New Issue
Block a user