Sewage + shallow water bugfixes (#20846)

Sewage no longer inexplicably changes colour when a mob goes over it,
and you aren't climbing out of water with every turf you take in it.
This commit is contained in:
hazelrat
2025-06-16 23:17:08 +01:00
committed by GitHub
parent c9a0b0c3ff
commit 7cdfaa1d4b
2 changed files with 61 additions and 2 deletions
@@ -91,12 +91,12 @@
if(numobjects)
numobjects -= 1
var/mob/living/L = AM
if(!istype(newloc, /turf/simulated/floor/exoplanet/water))
var/new_turf = get_step(src, newloc)
if(!istype(new_turf, src))
to_chat(L, SPAN_WARNING("You climb out of \the [src]."))
..()
/turf/simulated/floor/exoplanet/water/process()
clean(src)
for(var/mob/living/L in src)
var/obj/structure/lattice/lattice = locate(/obj/structure/lattice, src)
if(!lattice)