We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5c9666c commit 58eb46bCopy full SHA for 58eb46b
1 file changed
src/game/action/MapActionHandler.ts
@@ -53,8 +53,12 @@ class MapActionHandler implements ClickEventListener {
53
static spawnSelectAction(this: void, tile: number) {
54
if (territoryManager.getOwner(tile) === territoryManager.OWNER_NONE - 1) return;
55
if (!spawnManager.isValidSpawnPoint(tile)) return;
56
- if (!isLocalGame) sendPacket(new SpawnRequestPacket(tile));
+ if (!isLocalGame) {
57
+ sendPacket(new SpawnRequestPacket(tile));
58
+ return;
59
+ }
60
spawnManager.selectSpawnPoint(clientPlayer.id, tile);
61
+ spawnManager.finalizeSelection();
62
}
63
64
/**
0 commit comments