mirror of
https://github.com/quotefox/Hyper-Station-13.git
synced 2026-07-17 10:42:24 +01:00
railing/handrailing overlay fix
This commit is contained in:
@@ -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("<span class='warning'>[user] climbed over \the [src]!</span>")
|
||||
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."
|
||||
|
||||
Reference in New Issue
Block a user