aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2024-08-05 21:55:57 +0900
committernsfisis <nsfisis@gmail.com>2024-08-05 21:55:57 +0900
commit934b6b97195424ccb3067eedc4f64c1f10fc6666 (patch)
tree0eb3d0ba32e30f88660ace5444d4c4212a7ac38d
parent0429497bb9256ad6e4f93e22b415343b51adebc9 (diff)
downloadphperkaigi-2025-albatross-934b6b97195424ccb3067eedc4f64c1f10fc6666.tar.gz
phperkaigi-2025-albatross-934b6b97195424ccb3067eedc4f64c1f10fc6666.tar.zst
phperkaigi-2025-albatross-934b6b97195424ccb3067eedc4f64c1f10fc6666.zip
fix(backend): fix typo on message types
-rw-r--r--backend/game/message.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/backend/game/message.go b/backend/game/message.go
index d4007a3..1eedabd 100644
--- a/backend/game/message.go
+++ b/backend/game/message.go
@@ -10,7 +10,7 @@ import (
const (
playerMessageTypeS2CPrepare = "player:s2c:prepare"
playerMessageTypeS2CStart = "player:s2c:start"
- playerMessageTypeS2CExecResult = "player:s2c:execreslut"
+ playerMessageTypeS2CExecResult = "player:s2c:execresult"
playerMessageTypeC2SEntry = "player:c2s:entry"
playerMessageTypeC2SReady = "player:c2s:ready"
playerMessageTypeC2SCode = "player:c2s:code"
@@ -80,7 +80,7 @@ func asPlayerMessageC2S(raw map[string]json.RawMessage) (playerMessageC2S, error
const (
watcherMessageTypeS2CStart = "watcher:s2c:start"
- watcherMessageTypeS2CExecResult = "watcher:s2c:execreslut"
+ watcherMessageTypeS2CExecResult = "watcher:s2c:execresult"
watcherMessageTypeS2CCode = "watcher:s2c:code"
)