Skip to content

Commit 788a063

Browse files
committed
Merge branch 'dev' of https://github.com/Natuworkguy/ABS-Engine into dev
2 parents bc6495f + af43908 commit 788a063

2 files changed

Lines changed: 6 additions & 1 deletion

File tree

engine/build_tools.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -148,6 +148,8 @@ def _build_pyinstaller(name: str, directory: Path, log_queue: "Queue[Optional[st
148148
"--specpath",
149149
str(directory),
150150
f"--add-data={directory / 'game.absp'!s}{os.pathsep}.",
151+
f"--add-data={directory / 'engine' / 'nut'}{os.pathsep}engine/nut/",
152+
f"--add-data={directory / 'engine' / 'tcl'}{os.pathsep}engine/tcl/",
151153
]
152154

153155
if (directory / "scripts").exists():

engine/core/__init__.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,10 @@ def __init__(
9898
else:
9999
self.image = EntityAnim(image)
100100
except (pygame.error, FileNotFoundError) as e:
101-
logger(f"Failed to load image or animation '{image}': {str(e)}", status=LoggerStatus.WARNING)
101+
logger(
102+
f"Failed to load image or animation '{image}': {str(e)}",
103+
status=LoggerStatus.WARNING,
104+
)
102105

103106
if scriptfile is not None:
104107
esfid = f"esf-{self.id}"

0 commit comments

Comments
 (0)