Skip to content

Commit c0d3ad8

Browse files
committed
fix: battle log error not reporting correct type
1 parent 3d546f0 commit c0d3ad8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/hooks/game.event.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ eventManager.on('GameStart', function gameEvents() {
2929
const log = JSON.parse(data.battleLog);
3030
const { ran } = eventManager.emit(`Log:${log.battleLogType}`, log);
3131
if (!ran) {
32-
debugToast(`Unknown action: Log:${data.battleLogType}`);
32+
debugToast(`Unknown action: Log:${log.battleLogType}`);
3333
}
3434
});
3535
});

0 commit comments

Comments
 (0)