Merge pull request #8171 from mwerezak/layerfix

Fixes hiding mobs being layered underneath vents
This commit is contained in:
Zuhayr
2015-02-20 01:20:12 +10:30

View File

@@ -16,8 +16,8 @@
if(stat == DEAD || paralysis || weakened || stunned || restrained())
return
if (layer != TURF_LAYER+0.2)
layer = TURF_LAYER+0.2
if (layer != 2.45)
layer = 2.45 //Just above cables with their 2.44
src << text("\blue You are now hiding.")
else
layer = MOB_LAYER