From 2ba2b281ebae4fc897bfe450c823bc457ce2adab Mon Sep 17 00:00:00 2001 From: Razgriz Date: Wed, 13 Oct 2021 14:02:57 -0700 Subject: [PATCH] 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. --- code/game/turfs/simulated/floor_types.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/game/turfs/simulated/floor_types.dm b/code/game/turfs/simulated/floor_types.dm index 486e215325..742acb9f93 100644 --- a/code/game/turfs/simulated/floor_types.dm +++ b/code/game/turfs/simulated/floor_types.dm @@ -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