Procházet zdrojové kódy

add explanation

tags/v0.12.0
kckckc před 2 roky
rodič
revize
cc95b90351
1 změnil soubory, kde provedl 4 přidání a 0 odebrání
  1. +4
    -0
      src/client/js/rendering/renderer.js

+ 4
- 0
src/client/js/rendering/renderer.js Zobrazit soubor

@@ -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);
},



Načítá se…
Zrušit
Uložit