Fix type mismatch in entity comparison
This commit is contained in:
@@ -343,7 +343,7 @@ export function areEntityInstancesEqual(left: EntityInstance, right: EntityInsta
|
|||||||
case "soundEmitter": {
|
case "soundEmitter": {
|
||||||
const typedRight = right as SoundEmitterEntity;
|
const typedRight = right as SoundEmitterEntity;
|
||||||
return (
|
return (
|
||||||
left.radius === right.radius &&
|
left.radius === typedRight.radius &&
|
||||||
left.gain === typedRight.gain &&
|
left.gain === typedRight.gain &&
|
||||||
left.autoplay === typedRight.autoplay &&
|
left.autoplay === typedRight.autoplay &&
|
||||||
left.loop === typedRight.loop
|
left.loop === typedRight.loop
|
||||||
|
|||||||
Reference in New Issue
Block a user