fix too much squeaking (#26813)

* fix too much squeaking

fixes bug #26805 that was introduced in PR #26709 that caused squeaky things to squeak even when something was simply moved within the turf (e.g. into a storage container).

* make double sure it works
This commit is contained in:
Kenionatus
2024-09-19 02:26:30 +00:00
committed by GitHub
parent 479c80df0d
commit 8efbb58ca6
+2
View File
@@ -72,6 +72,8 @@
steps++
/datum/component/squeak/proc/play_squeak_crossed(atom/source, atom/movable/crossing)
if(!isturf(crossing.loc) || !isturf(source.loc))
return
if(istype(crossing, /obj/effect))
return
if(ismob(crossing))