Commit 1e10dbcd authored by 杨一航's avatar 杨一航

fix

parent c0a4b445
...@@ -182,7 +182,7 @@ export class GameServer { ...@@ -182,7 +182,7 @@ export class GameServer {
if (this.gameStatus[this.gameStatus.current] < this._totalStep - 1) { if (this.gameStatus[this.gameStatus.current] < this._totalStep - 1) {
this.gameStatus.step = null; this.gameStatus.step = null;
this.gameStatus.state = 2; this.gameStatus.state = 2;
this.gameStatus.jump = !!jump; this.gameStatus.jump = !!jump?.rto;
this.networkHelper.sendFrame({ this.networkHelper.sendFrame({
type: "SERVER_playerRight", type: "SERVER_playerRight",
status: this.gameStatus, status: this.gameStatus,
...@@ -208,7 +208,7 @@ export class GameServer { ...@@ -208,7 +208,7 @@ export class GameServer {
this.gameStatus.step = null; this.gameStatus.step = null;
this.gameStatus.state = 2; this.gameStatus.state = 2;
this.gameStatus.jump = !!jump; this.gameStatus.jump = !!jump?.wto;
this.networkHelper.sendFrame({ this.networkHelper.sendFrame({
type: "SERVER_playerWrong", type: "SERVER_playerWrong",
status: this.gameStatus, status: this.gameStatus,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment