diff --git a/src/gui/game/PropertyTool.cpp b/src/gui/game/PropertyTool.cpp index 62efc96cd..86cb4b827 100644 --- a/src/gui/game/PropertyTool.cpp +++ b/src/gui/game/PropertyTool.cpp @@ -109,7 +109,7 @@ void PropertyWindow::SetProperty() //0xC0FFEE v = value.Substr(2).ToNumber(Format::Hex()); } - else if(value.length() > 1 && value.BeginsWith("0")) + else if(value.length() > 1 && value.BeginsWith("#")) { //#C0FFEE v = value.Substr(1).ToNumber(Format::Hex());