[Cleanup] Cleanup #door Command. (#2783)

* [Cleanup] Cleanup #door Command.

# Notes
- Resolves an issue with `.1` versus `0.1`.
- Resolves an issue with updating a pre-existing door.
- Adds `heading` to the update/insert.

* Update doors.cpp
This commit is contained in:
Alex King
2023-01-24 17:37:21 -05:00
committed by GitHub
parent 08c8393988
commit bf39a0540c
5 changed files with 75 additions and 76 deletions
+1 -1
View File
@@ -187,7 +187,7 @@ void DoorManipulation::CommandHandler(Client *c, const Seperator *sep)
std::vector<std::string> set_size_options_negative;
std::vector<std::string> xyz_values = {
".1", "1", "5", "10", "25", "50", "100"
"0.1", "1", "5", "10", "25", "50", "100"
};
// build positive options x/y/z