Sfoglia il codice sorgente

add explanation

tags/v0.12.0
kckckc 2 anni fa
parent
commit
cc95b90351
1 ha cambiato i file con 4 aggiunte e 0 eliminazioni
  1. +4
    -0
      src/client/js/rendering/renderer.js

+ 4
- 0
src/client/js/rendering/renderer.js Vedi 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);
},



Caricamento…
Annulla
Salva