Fixes 2 syntax errors caused by fatigue

Forget to:
- rename the import instruction after renaming the file
- instance the map object after exporting it from the function
This commit is contained in:
Fred Z 2018-03-10 22:03:59 +01:00
parent 7633dd0f1f
commit dfaee27cc4
1 changed files with 3 additions and 2 deletions

View File

@ -20,7 +20,8 @@ from configuration import choose_maps_menu, cls, COMMANDS, \
MAP_DIRECTORY, MAP_EXTENTION, MAPS_NAME_LIST, MIN_CLIENT_NB, MOVE_STATUS, \
MOVE_STATUS_MSG, MSG_CHOOSE_MOVE, MSG_CONNECTED_CLIENT, MSG_DISCLAMER, MSG_END_GAME, \
MSG_HELP, MSG_MINIMUM_CLIENT, MSG_QUIT_GAME, MSG_REQUEST_START, MSG_START_GAME
from ConnectSocket import ConnectSocket
from connectsocket import ConnectSocket
from map import Map
enough_clients = False
old_count_clients = int(0)
@ -48,7 +49,7 @@ print(MSG_DISCLAMER)
MAP_FILENAME = choose_maps_menu()
# Genere la carte
GAME_MAP = (MAP_FILENAME)
GAME_MAP = Map(MAP_FILENAME)
# Démarre le réseau
GAME_NETWORK = ConnectSocket()