TheSuperHackers / GeneralsModBuilder

Mod Builder for Generals: Zero Hour
MIT License
1 stars 0 forks source link

ModBuilder calls "onInstall" script even if bundle pack is not enabled for install #43

Open xezon opened 5 months ago

xezon commented 5 months ago

Reproducible in Sample Project when selecting that is not "ProjectCore".

Perhaps also affects other callback types.

Call script D:\Projects\TheSuperHackers\GeneralsModBuilderSample\Project\Scripts\Python\OnInstallPack ...
OnInstallPack.py called ...
ERROR CALLSTACK
Traceback (most recent call last):
  File "gui\gui.py", line 421, in _DoWork
  File "gui\gui.py", line 309, in <lambda>
  File "buildfunctions.py", line 122, in RunWithConfig
  File "build\engine.py", line 295, in Run
  File "build\engine.py", line 970, in __Install
  File "build\engine.py", line 372, in __SendBundleEvents
  File "build\engine.py", line 334, in __CallScript
  File "D:\Projects\TheSuperHackers\GeneralsModBuilderSample\Project\Scripts\Python\OnInstallPack.py", line 10, in OnEvent
    assert rawBuildThing != None, "_rawBuildThing kwargs not found"
AssertionError: _rawBuildThing kwargs not found