From 46f98b64c31a458f0c864984ff0e89fffcb49e55 Mon Sep 17 00:00:00 2001 From: treeston Date: Thu, 15 Jun 2017 16:56:15 +0200 Subject: [PATCH] Rename .debug uws to .debug worldstate (clarity change). --- sql/updates/world/3.3.5/2017_04_15_01_world.sql | 4 ++++ src/server/scripts/Commands/cs_debug.cpp | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) create mode 100644 sql/updates/world/3.3.5/2017_04_15_01_world.sql diff --git a/sql/updates/world/3.3.5/2017_04_15_01_world.sql b/sql/updates/world/3.3.5/2017_04_15_01_world.sql new file mode 100644 index 00000000000..adf0ef14437 --- /dev/null +++ b/sql/updates/world/3.3.5/2017_04_15_01_world.sql @@ -0,0 +1,4 @@ +-- +UPDATE `command` SET `name`="debug worldstate",`help`="Syntax: debug worldstate $stateId $value + +Sends a world state update for the specified state to your client." WHERE `name`="debug uws"; diff --git a/src/server/scripts/Commands/cs_debug.cpp b/src/server/scripts/Commands/cs_debug.cpp index ba0c46f494e..3338f339050 100644 --- a/src/server/scripts/Commands/cs_debug.cpp +++ b/src/server/scripts/Commands/cs_debug.cpp @@ -88,7 +88,7 @@ public: { "spawnvehicle", rbac::RBAC_PERM_COMMAND_DEBUG_SPAWNVEHICLE, false, &HandleDebugSpawnVehicleCommand, "" }, { "setvid", rbac::RBAC_PERM_COMMAND_DEBUG_SETVID, false, &HandleDebugSetVehicleIdCommand, "" }, { "entervehicle", rbac::RBAC_PERM_COMMAND_DEBUG_ENTERVEHICLE, false, &HandleDebugEnterVehicleCommand, "" }, - { "uws", rbac::RBAC_PERM_COMMAND_DEBUG_UWS, false, &HandleDebugUpdateWorldStateCommand, "" }, + { "worldstate", rbac::RBAC_PERM_COMMAND_DEBUG_UWS, false, &HandleDebugUpdateWorldStateCommand, "" }, { "update", rbac::RBAC_PERM_COMMAND_DEBUG_UPDATE, false, &HandleDebugUpdateCommand, "" }, { "itemexpire", rbac::RBAC_PERM_COMMAND_DEBUG_ITEMEXPIRE, false, &HandleDebugItemExpireCommand, "" }, { "areatriggers", rbac::RBAC_PERM_COMMAND_DEBUG_AREATRIGGERS, false, &HandleDebugAreaTriggersCommand, "" },