mirror of
https://gitea.wildfiregames.com/0ad/0ad
synced 2026-06-16 05:13:58 -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
|
||
|---|---|---|
| .. | ||
| test_CmpTemplateManager.h | ||
| test_ComponentManager.h | ||
| test_EntityMap.h | ||
| test_ParamNode.h | ||
| test_Serializer.h | ||
| test_SerializeTemplates.h | ||
| test_Simulation2.h | ||