From 532a3707de7dde0fc0fdcf33595acc3349652df8 Mon Sep 17 00:00:00 2001 From: DZD Date: Thu, 22 Jan 2015 21:43:23 -0500 Subject: [PATCH] Fix Spacepod Battery Charge Display - Fix for spacepod status menu not displaying charge % of any battery cell that was not a high capacity cell. Spacepod code is still an utter mess. --- code/game/vehicles/spacepods/spacepod.dm | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/code/game/vehicles/spacepods/spacepod.dm b/code/game/vehicles/spacepods/spacepod.dm index d10a80ec09e..138559e543a 100644 --- a/code/game/vehicles/spacepods/spacepod.dm +++ b/code/game/vehicles/spacepods/spacepod.dm @@ -14,7 +14,8 @@ var/mob/living/carbon/occupant var/mob/living/carbon/occupant2 //two seaters var/datum/spacepod/equipment/equipment_system - var/obj/item/weapon/cell/high/battery + var/battery_type = "/obj/item/weapon/cell/high" + var/obj/item/weapon/cell/battery var/datum/gas_mixture/cabin_air var/obj/machinery/portable_atmospherics/canister/internal_tank var/datum/effect/effect/system/ion_trail_follow/space_trail/ion_trail @@ -39,7 +40,7 @@ bound_width = 64 bound_height = 64 dir = EAST - battery = new() + battery = new battery_type(src) add_cabin() add_airtank() src.ion_trail = new /datum/effect/effect/system/ion_trail_follow/space_trail()