Fix shuttle flooring generating insane lag

/turf/simulated/shuttle/proc/underlay_update() had a "return 0" for it. Return 0 would add a blank value to a LIST and there was no GC for it. Nothing else seems adversely affected by this change to remove the 0 and just have it return.
This commit is contained in:
Razgriz
2021-10-13 14:02:57 -07:00
committed by GitHub
parent 2e4cb5decd
commit 2ba2b281eb
+1 -1
View File
@@ -112,7 +112,7 @@
/turf/simulated/shuttle/proc/underlay_update()
if(!takes_underlays)
//Basically, if it's not forced, and we don't care, don't do it.
return 0
return //CHOMP Edit removed 0. Sarcastically quoting the above comment ^ "Basically, if it's not stupposed to store a fucking value, don't store a fucking value."
var/turf/under //May be a path or a turf
var/mutable_appearance/us = new(src) //We'll use this for changes later