mirror of
https://github.com/vgstation-coders/vgstation13.git
synced 2025-12-10 02:16:05 +00:00
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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user