Adds support for modifying volatile scripts after adding them.
Some checks failed
continuous-integration/drone/push Build is failing
Some checks failed
continuous-integration/drone/push Build is failing
This commit is contained in:
@@ -84,7 +84,10 @@ public:
|
||||
asITypeInfo* t;
|
||||
auto v = _baseTypes.TryGet(name);
|
||||
if (!v.has_value()) {
|
||||
t = this->_engine->GetTypeInfoByDecl(name.c_str());
|
||||
t = _mainModule->GetTypeInfoByName(name.c_str());
|
||||
if (t == NULL){
|
||||
t = _engine->GetTypeInfoByDecl(name.c_str());
|
||||
}
|
||||
_baseTypes.Insert(name, t);
|
||||
} else {
|
||||
t = v.value();
|
||||
|
||||
Reference in New Issue
Block a user