diff --git a/lib/entities/player.js b/lib/entities/player.js index 7c5cd32..7b6032c 100644 --- a/lib/entities/player.js +++ b/lib/entities/player.js @@ -18,6 +18,7 @@ Player.prototype.setRegion = function (region) { Player.prototype.addState = function (state, executionTime) { this.addHistory(state, executionTime); + this.state = state; this.sequence += this.inputs.length; this.inputs = []; }; \ No newline at end of file