diff --git a/hyperstation/code/game/objects/railings.dm b/hyperstation/code/game/objects/railings.dm index 2c01a1721..8140ad908 100644 --- a/hyperstation/code/game/objects/railings.dm +++ b/hyperstation/code/game/objects/railings.dm @@ -16,6 +16,7 @@ var/heat_resistance = 800 var/health = 70 var/maxhealth = 70 + layer = BELOW_MOB_LAYER resistance_flags = ACID_PROOF @@ -164,6 +165,14 @@ usr.visible_message("[user] climbed over \the [src]!") usr.do_twist(targetangle = 45, timer = 8) +/obj/structure/railing/Initialize(mapload) //mobs will show under the south railing sprite, thanks Cyanosis for helping with the fix + . = ..() + if(!mapload) + return + if(!(dir & SOUTH)) + return + layer = ABOVE_MOB_LAYER + /obj/structure/railing/handrail name = "handrail" desc = "A waist high handrail, perhaps you could climb over it." diff --git a/hyperstation/icons/obj/railings.dmi b/hyperstation/icons/obj/railings.dmi index 1604e6bdd..2bccd88f7 100644 Binary files a/hyperstation/icons/obj/railings.dmi and b/hyperstation/icons/obj/railings.dmi differ