Scripts are now always built on engine launch #219

Merged
Pycorax merged 1 commits from SP3-6-c-scripting into main 2022-11-17 17:38:17 +08:00
1 changed files with 3 additions and 4 deletions

View File

@ -58,10 +58,9 @@ namespace SHADE
loadFunctions();
// Generate script assembly if it hasn't been before
if (!fileExists(std::string(MANAGED_SCRIPT_LIB_NAME) + ".dll"))
{
BuildScriptAssembly();
}
#ifndef _PUBLISH
BuildScriptAssembly();
#endif
// Initialise the CSharp Engine
csEngineInit();