Skip to content

Commit

Permalink
fixes minor runtime
Browse files Browse the repository at this point in the history
  • Loading branch information
MarkSuckerberg committed Dec 8, 2023
1 parent 39dc09c commit d5709e4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/game/turfs/change_turf.dm
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ GLOBAL_LIST_INIT(blacklisted_automated_baseturfs, typecacheof(list(
if(!SSair.initialized)
. = ..()
return
if ((flags & CHANGETURF_INHERIT_AIR) && ispath(path, /turf/open))
if ((flags & CHANGETURF_INHERIT_AIR) && ispath(path, /turf/open) && air)
var/datum/gas_mixture/stashed_air = new()
stashed_air.copy_from(air)
. = ..()
Expand Down

0 comments on commit d5709e4

Please sign in to comment.