Browse Source

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

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

8
server/hra/game.py

@ -122,10 +122,10 @@ class Occupy(Logic):
x += 1
y += 1
for move in moves:
team_id = move["team_id"]
for member in move["members"]:
id_moves[team_id][member["id"]] = member["action"]
for team_id, move in enumerate(moves):
if move is not None:
for member in move["members"]:
id_moves[team_id][member["id"]] = member["action"]
# Místo mapy tabulka seznamů vojáků pro každý tým
soldier_lists = [

Loading…
Cancel
Save