diff --git a/Engine/source/console/propertyParsing.h b/Engine/source/console/propertyParsing.h index eab09118b..8bffe59b8 100644 --- a/Engine/source/console/propertyParsing.h +++ b/Engine/source/console/propertyParsing.h @@ -174,7 +174,7 @@ namespace PropertyInfo { if constexpr (std::is_same_v || std::is_same_v) { - out[index++] = dAtoi(tok); + out[index++] = mRound(dAtof(tok)); } else if constexpr (std::is_same_v || std::is_same_v) {