Browse Source

add explanation

tags/v0.12.0
kckckc 1 year ago
parent
commit
cc95b90351
1 changed files with 4 additions and 0 deletions
  1. +4
    -0
      src/client/js/rendering/renderer.js

+ 4
- 0
src/client/js/rendering/renderer.js View File

@@ -327,6 +327,10 @@ define([
events.emit('onGetObject', c);
});

//Normally, the mounts mod queues this event when unmounting.
// If we rezone, our effects are destroyed, so the event is queued,
// but flushForTarget clears the event right after and the event is never received.
// We emit it again here to make sure the speed is reset after entering the new zone.
events.emit('onMoveSpeedChange', 0);
},



Loading…
Cancel
Save