mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-30 07:27:57 +01:00
More New() -> Initialize() for /obj/structure (#15158)
* More New() -> Initialize() for /obj/structure * Updates these * Tweaks + Fixes
This commit is contained in:
@@ -20,10 +20,10 @@
|
||||
var/shockcooldown = 0
|
||||
var/my_shockcooldown = 1 SECONDS
|
||||
|
||||
/obj/structure/grille/fence/
|
||||
/obj/structure/grille/fence
|
||||
var/width = 3
|
||||
|
||||
/obj/structure/grille/fence/New()
|
||||
/obj/structure/grille/fence/Initialize(mapload)
|
||||
. = ..()
|
||||
if(width > 1)
|
||||
if(dir in list(EAST, WEST))
|
||||
@@ -290,8 +290,8 @@
|
||||
desc = "A strangely-shaped grille."
|
||||
broken_type = /obj/structure/grille/ratvar/broken
|
||||
|
||||
/obj/structure/grille/ratvar/New()
|
||||
..()
|
||||
/obj/structure/grille/ratvar/Initialize(mapload)
|
||||
. = ..()
|
||||
if(broken)
|
||||
new /obj/effect/temp_visual/ratvar/grille/broken(get_turf(src))
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user