mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-21 19:17:50 +01:00
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:
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user