Dont use cached version of NumericScriptType with extern, this causes issues
continuous-integration/drone/push Build is failing
Details
continuous-integration/drone/push Build is failing
Details
This commit is contained in:
parent
cf1daf7805
commit
2fbe1fdf09
|
@ -23,12 +23,7 @@ namespace Porygon{
|
|||
}
|
||||
|
||||
const ScriptType* CreateNumericScriptType(bool isAware, bool isFloat){
|
||||
if (isAware){
|
||||
if (isFloat)
|
||||
return NumericScriptType::AwareFloat.get();
|
||||
return NumericScriptType::AwareInt.get();
|
||||
}
|
||||
return NumericScriptType::Unaware.get();
|
||||
return new NumericScriptType(isAware, isFloat);
|
||||
}
|
||||
|
||||
ScriptType* CreateStringScriptType(bool knownAtBind, uint32_t hash){
|
||||
|
|
Loading…
Reference in New Issue