mirror of
https://github.com/The-Powder-Toy/The-Powder-Toy.git
synced 2025-07-31 05:30:23 +02:00
Merge pull request #168 from liquidcaesium/patch-2
Decimal number support
This commit is contained in:
@@ -146,7 +146,7 @@ int TPTScriptInterface::parseNumber(char * stringData)
|
||||
}
|
||||
else
|
||||
{
|
||||
return atoi(stringData);
|
||||
return atof(stringData);
|
||||
}
|
||||
return currentNumber;
|
||||
}
|
||||
|
Reference in New Issue
Block a user