Browse Source

Strategická: Oprava herní logiky (nedefinovaný tah)

master
Jiří Kalvoda 2 years ago
parent
commit
1f9727d967
  1. 4
      server/hra/game.py

4
server/hra/game.py

@ -122,8 +122,8 @@ class Occupy(Logic):
x += 1 x += 1
y += 1 y += 1
for move in moves: for team_id, move in enumerate(moves):
team_id = move["team_id"] if move is not None:
for member in move["members"]: for member in move["members"]:
id_moves[team_id][member["id"]] = member["action"] id_moves[team_id][member["id"]] = member["action"]

Loading…
Cancel
Save