mirror of
https://gitea.wildfiregames.com/0ad/0ad
synced 2026-06-17 13:53:57 -07:00
When a script in "simulation/helpers/" contained an error. Files in
"simulation/components" aren't loaded. The return value of
`LoadDefaultScripts` indicated an error but was ignored. The simulation
still tried to start.
Now instead of returning a ignoreable error code the error is thrown. In
the common path the error is implicitly rethrown to the JS-function
which tried to start the game.
fixes: #8133
(cherry picked from commit
|
||
|---|---|---|
| .. | ||
| tests | ||
| Atlas.cpp | ||
| Atlas.h | ||
| CmdLineArgs.cpp | ||
| CmdLineArgs.h | ||
| Config.cpp | ||
| Config.h | ||
| GameSetup.cpp | ||
| GameSetup.h | ||
| HWDetect.cpp | ||
| HWDetect.h | ||
| Paths.cpp | ||
| Paths.h | ||