From 00a8a0cf8839fc4883159722b092cd45d8f6608b Mon Sep 17 00:00:00 2001 From: Alex King <89047260+Kinglykrab@users.noreply.github.com> Date: Tue, 1 Aug 2023 23:16:29 -0400 Subject: [PATCH] [Bug Fix] Fix +/- 0.1 XYZ Door Manipulation (#3527) # Notes - We were checking if this was a number, not a float. --- zone/gm_commands/door_manipulation.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zone/gm_commands/door_manipulation.cpp b/zone/gm_commands/door_manipulation.cpp index 0e3ae2e3d..4f136798f 100644 --- a/zone/gm_commands/door_manipulation.cpp +++ b/zone/gm_commands/door_manipulation.cpp @@ -47,7 +47,7 @@ void DoorManipulation::CommandHandler(Client *c, const Seperator *sep) const std::string set_size_action = "set_size"; // we're passing a move action here - if (!arg3.empty() && Strings::IsNumber(arg3)) { + if (!arg3.empty() && (Strings::IsFloat(arg3) || Strings::IsNumber(arg3))) { float x_move = 0.0f; float y_move = 0.0f; float z_move = 0.0f;