Fixes queued smoothing items not being removed on del (#18776)

* fixes queued smoothing items not being removed on del

* undupes the code

* why DID it do this?
This commit is contained in:
S34N
2022-08-11 15:46:22 +01:00
committed by GitHub
parent 7276267a94
commit 5162c0413c
3 changed files with 5 additions and 2 deletions
+2 -2
View File
@@ -30,8 +30,8 @@
GLOB.cameranet.updateVisibility(src)
if(smoothing_flags & (SMOOTH_CORNERS|SMOOTH_BITMASK))
var/turf/T = get_turf(src)
spawn(0)
QUEUE_SMOOTH_NEIGHBORS(T)
QUEUE_SMOOTH_NEIGHBORS(T)
REMOVE_FROM_SMOOTH_QUEUE(src)
return ..()
/obj/structure/proc/climb_on()