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