Merge pull request #13736 from Heroman3003/abduction-z-fix

Fixes runtime with weather
This commit is contained in:
Novacat
2022-09-15 09:50:38 -04:00
committed by CHOMPStation2
parent bc2886f4c5
commit 92d87ee3c6

View File

@@ -146,6 +146,7 @@ var/redspace_abduction_z
redspace_abduction_z = -1 redspace_abduction_z = -1
to_chat(user,"<span class='warning'>This is the first use of the verb this shift, it will take a minute to configure the abduction z-level. It will be z[world.maxz+1].</span>") to_chat(user,"<span class='warning'>This is the first use of the verb this shift, it will take a minute to configure the abduction z-level. It will be z[world.maxz+1].</span>")
var/z = ++world.maxz var/z = ++world.maxz
world.max_z_changed()
for(var/x = 1 to world.maxx) for(var/x = 1 to world.maxx)
for(var/y = 1 to world.maxy) for(var/y = 1 to world.maxy)
var/turf/T = locate(x,y,z) var/turf/T = locate(x,y,z)
@@ -232,7 +233,7 @@ var/redspace_abduction_z
to_chat(target, "<span class='notice' style='font: small-caps bold large monospace!important'>Autosaving your progress, please wait...</span>") to_chat(target, "<span class='notice' style='font: small-caps bold large monospace!important'>Autosaving your progress, please wait...</span>")
target << 'sound/effects/ding.ogg' target << 'sound/effects/ding.ogg'
var/static/list/bad_tips = list( var/static/list/bad_tips = list(
"Did you know that black shoes protect you from electrocution while hacking?", "Did you know that black shoes protect you from electrocution while hacking?",
"Did you know that airlocks always have a wire that disables ID checks?", "Did you know that airlocks always have a wire that disables ID checks?",