vimp-engine 0.6.0 → 0.7.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -141,6 +141,10 @@ class RoundManager {
|
|
|
141
141
|
for (const user of this._participants.getHumans()) {
|
|
142
142
|
const gameId = user.gameId;
|
|
143
143
|
|
|
144
|
+
// keyset наблюдателя уходит до очистки полотна: он выключает
|
|
145
|
+
// клиентский предикт, иначе тот успевает пересоздать сущность уже
|
|
146
|
+
// после CLEAR и она остаётся призраком до конца сессии
|
|
147
|
+
this._socketManager.sendSpectatorDefaultShot(user.socketId);
|
|
144
148
|
this._socketManager.sendClear(user.socketId);
|
|
145
149
|
|
|
146
150
|
// перемещение пользователя в наблюдатели
|
package/src/lib/math.js
CHANGED