Skip to content

Commit 30cf723

Browse files
committed
fix load typo
1 parent 3c6f2f0 commit 30cf723

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

core/entity.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ def __init__(self):
1515
def __loadJSON(self): # Chargement des entités depuis un fichier
1616
try:
1717
with open(self.__path, 'r') as outFile:
18-
self.__entities = dict(Loader.json(outFile, ["Entity loading ...", "Entities loaded !", "Entity loading Failed !"]))
18+
self.__entities = dict(Loader.json(outFile, ["Loading entities ...", "Entities loaded ! ", "Entities loading Failed !"]))
1919

2020
return(True)
2121

core/map.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ def __init__(self, mapName = "world"): # Fichier de chargement par défaut: "dat
2727
def __loadJSON(self): # Chargement depuis un fichier
2828
try:
2929
with open(self.__path, "rb") as outFile:
30-
self.__map = list(Loader.map(outFile, ["Loading map ...", "Map loaded !", "Map loading failed !"]))
30+
self.__map = list(Loader.map(outFile, ["Loading map ...", "Map loaded ! ", "Map loading failed !"]))
3131
self.__dims = tuple((len(self.__map), len(self.__map[0])))
3232
self.__cells = int(self.__dims[1]*self.__dims[0])
3333

0 commit comments

Comments
 (0)