more code clean up (#10330)

This commit is contained in:
Kashargul
2025-03-07 16:57:03 +01:00
committed by GitHub
parent c78c0aec04
commit 9d5f8c09bd
25 changed files with 83 additions and 130 deletions
+1 -1
View File
@@ -26,7 +26,7 @@
return bcell
/obj/item/defib_kit/Initialize() //starts without a cell for rnd //ChompEDIT New --> Initialize
..()
. = ..()
if(ispath(paddles))
paddles = new paddles(src, src)
else
+2 -2
View File
@@ -46,8 +46,8 @@ GLOBAL_LIST_BOILERPLATE(all_pai_cards, /obj/item/paicard)
if(istype(rig))
rig.forced_move(direction, user)
/obj/item/paicard/Initialize() //ChompEDIT New --> Initialize
..()
/obj/item/paicard/Initialize(mapload)
. = ..()
add_overlay("pai-off")
/obj/item/paicard/Destroy()
+2 -2
View File
@@ -217,8 +217,8 @@
//
// Includes normal radio uplink, multitool uplink,
// implant uplink (not the implant tool) and a preset headset uplink.
/obj/item/radio/uplink/Initialize()
..()
/obj/item/radio/uplink/Initialize(mapload)
. = ..()
hidden_uplink = new(src)
icon_state = "radio"
@@ -23,7 +23,7 @@
var/list/has_projectiles = list()
var/bullet_act_in_progress = FALSE
/obj/structure/reflector/Initialize()
/obj/structure/reflector/Initialize(mapload)
. = ..()
icon_state = "reflector_base"
allowed_projectile_typecache = typecacheof(allowed_projectile_typecache)
@@ -308,6 +308,6 @@
/obj/machinery/portable_atmospherics/canister
var/dont_burst = FALSE
/obj/machinery/portable_atmospherics/canister/phoron/cold/Initialize() //ChompEDIT New --> Initialize
/obj/machinery/portable_atmospherics/canister/phoron/cold/Initialize(mapload)
. = ..()
src.air_contents.temperature = 2.72
..()