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){
|
const ScriptType* CreateNumericScriptType(bool isAware, bool isFloat){
|
||||||
if (isAware){
|
return new NumericScriptType(isAware, isFloat);
|
||||||
if (isFloat)
|
|
||||||
return NumericScriptType::AwareFloat.get();
|
|
||||||
return NumericScriptType::AwareInt.get();
|
|
||||||
}
|
|
||||||
return NumericScriptType::Unaware.get();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
ScriptType* CreateStringScriptType(bool knownAtBind, uint32_t hash){
|
ScriptType* CreateStringScriptType(bool knownAtBind, uint32_t hash){
|
||||||
|
|
Loading…
Reference in New Issue