Skip to content

Commit

Permalink
Update soundOutput.dm
Browse files Browse the repository at this point in the history
  • Loading branch information
Git-Nivrak committed Jul 8, 2024
1 parent e0d38dd commit f682e01
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/datums/soundOutput.dm
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@
if(T.source && !QDELETED(T.source))
source_turf = get_turf(T.source)

if(!update && istype(T.source, /atom/movable))
if(!update && istype(T.source, /atom/movable) && T.source != owner.mob)
source_sounds[num2text(T.channel)] = T.source
RegisterSignal(T.source, COMSIG_MOVABLE_MOVED, PROC_REF(update_sounds_from_source))
else if (T.x && T.y && T.z)
Expand Down

0 comments on commit f682e01

Please sign in to comment.