Added Welcome screen
Fixed for c++ 20
This commit is contained in:
antopilo
2022-06-23 20:43:32 -04:00
parent 511e5dfb16
commit 7ba865ef14
9 changed files with 311 additions and 144 deletions

View File

@@ -17,6 +17,10 @@ namespace Nuake {
for (auto& e : entities)
{
WrenScriptComponent& wren = entities.get<WrenScriptComponent>(e);
if (!wren.mWrenScript)
continue;
wren.mWrenScript->Build(wren.mModule, true);
if (!wren.mWrenScript->HasCompiledSuccesfully())
@@ -29,7 +33,6 @@ namespace Nuake {
return true;
}
void ScriptingSystem::Update(Timestep ts)
{
if (!Engine::IsPlayMode)