aboutsummaryrefslogtreecommitdiffhomepage
path: root/backend/game/hub.go
diff options
context:
space:
mode:
Diffstat (limited to 'backend/game/hub.go')
-rw-r--r--backend/game/hub.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/backend/game/hub.go b/backend/game/hub.go
index ef69ddb..27a9847 100644
--- a/backend/game/hub.go
+++ b/backend/game/hub.go
@@ -209,7 +209,7 @@ func (hub *gameHub) processTaskResults() {
Type: playerMessageTypeS2CExecResult,
Data: playerMessageS2CExecResultPayload{
Score: nil,
- Status: api.GamePlayerMessageS2CExecResultPayloadStatus(taskResult.Result),
+ Status: api.GamePlayerMessageS2CExecResultPayloadStatus(taskResult.Status),
},
}
}