Changes checks for zlevel 1 to map.zMainStation (#11379)

* Changes checks for zlevel 1 to map.zMainStation

* Replace all hard z-level checks with checks from _map.dm

* Hey look at all this manual z assignment (basically none)

* Whoops

* nanouwhy

* aaaa

* w h y
This commit is contained in:
sood
2016-08-14 11:19:02 -07:00
committed by ComicIronic
parent 8d2742fe65
commit 8cb1b0aaf3
48 changed files with 81 additions and 81 deletions

View File

@@ -1128,7 +1128,7 @@ var/global/floorIsLava = 0
set category = "Admin"
set name = "Unprison"
if (M.z == 2)
if (M.z == map.zCentcomm)
if (config.allow_admin_jump)
M.loc = pick(latejoin)
message_admins("[key_name_admin(usr)] has unprisoned [key_name_admin(M)]", 1)
@@ -1197,7 +1197,7 @@ var/global/floorIsLava = 0
if(3)
var/count = 0
for(var/mob/living/carbon/monkey/Monkey in world)
if(Monkey.z == 1)
if(Monkey.z == map.zMainStation)
count++
return "Kill all [count] of the monkeys on the station"
if(4)