Skip to content

Commit

Permalink
uncomment code
Browse files Browse the repository at this point in the history
  • Loading branch information
mattieFM committed Nov 18, 2023
1 parent 29a3039 commit 60ef926
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions www/mods/_multiplayer/netControllerV2/baseNetController.js
Original file line number Diff line number Diff line change
Expand Up @@ -263,8 +263,8 @@ class BaseNetController extends EventEmitter {
const actorDataArr = data.actorData;
const actorHealthArr = actorDataArr.map((data) => data.hp);
const enemyStatesArr = data.enemyStates;
// if (actorDataArr) { this.syncActorData(actorDataArr, id); }
// if (enemyHealthArr) { this.syncEnemyHealths(enemyHealthArr); }
if (actorDataArr) { this.syncActorData(actorDataArr, id); }
if (enemyHealthArr) { this.syncEnemyHealths(enemyHealthArr); }
if (enemyStatesArr) { this.syncEnemyStates(enemyStatesArr); }
setTimeout(() => {
BattleManager.doneSyncing(); // done syncing
Expand Down

0 comments on commit 60ef926

Please sign in to comment.