Fixes error on reading compiled scripts.
continuous-integration/drone/push Build is passing

This commit is contained in:
Deukhoofd committed 2021-03-07 19:35:38 +01:00
1 parent 20f90222d1
commit 090b77ff2b
2 files changed
+2 -1

No files matched your search

@@ -381,7 +381,7 @@ void AngelScriptResolver::InitializeByteCode(
for (const auto& val : innerDb.second) {
auto decl = val.second;
auto type = objectTypes[decl];
_itemUseTypes[val.first] = type;
_itemUseTypes.Set(val.first, type);
}
}
}
@@ -55,6 +55,7 @@ public:
// Write the divider between categories.
Write("\1", sizeof(char));
}
virtual ArbUt::Dictionary<ScriptCategory, ArbUt::Dictionary<ArbUt::StringView, uint32_t>> ReadTypes() {
_angelScriptBound = SIZE_MAX;
ArbUt::Dictionary<ScriptCategory, ArbUt::Dictionary<ArbUt::StringView, uint32_t>> types;