Clearer code for resolving to nullptr script.
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This commit is contained in:
parent
2ea6f391b4
commit
5e6892ac58
|
@ -142,7 +142,7 @@ CreatureLib::Battling::Script* AngelScriptResolver::LoadScript(ScriptCategory ca
|
|||
innerDb.Insert(scriptName, nullptr);
|
||||
return nullptr;
|
||||
}
|
||||
if (t == nullptr) {
|
||||
if (t.value() == nullptr) {
|
||||
return nullptr;
|
||||
}
|
||||
auto ctx = _contextPool->RequestContext();
|
||||
|
|
Loading…
Reference in New Issue