diff --git a/src/gui/game/PropertyTool.cpp b/src/gui/game/PropertyTool.cpp index 937360b3c..1e5decdf3 100644 --- a/src/gui/game/PropertyTool.cpp +++ b/src/gui/game/PropertyTool.cpp @@ -195,7 +195,10 @@ void PropertyWindow::SetProperty(bool warn) } case StructProperty::Float: { - tool->propValue.Float = format::StringToTemperature(value, tool->gameModel->GetTemperatureScale()); + if (properties[property->GetOption().second].Name == "temp") + tool->propValue.Float = format::StringToTemperature(value, tool->gameModel->GetTemperatureScale()); + else + tool->propValue.Float = value.ToNumber(); } break; default: