aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sql/updates/world/master/2020_07_16_06_world_2017_04_15_01_world.sql4
-rw-r--r--src/server/scripts/Commands/cs_debug.cpp2
2 files changed, 5 insertions, 1 deletions
diff --git a/sql/updates/world/master/2020_07_16_06_world_2017_04_15_01_world.sql b/sql/updates/world/master/2020_07_16_06_world_2017_04_15_01_world.sql
new file mode 100644
index 00000000000..adf0ef14437
--- /dev/null
+++ b/sql/updates/world/master/2020_07_16_06_world_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 794a02ee820..74db0af2a05 100644
--- a/src/server/scripts/Commands/cs_debug.cpp
+++ b/src/server/scripts/Commands/cs_debug.cpp
@@ -93,7 +93,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, "" },
{ "itemexpire", rbac::RBAC_PERM_COMMAND_DEBUG_ITEMEXPIRE, false, &HandleDebugItemExpireCommand, "" },
{ "areatriggers", rbac::RBAC_PERM_COMMAND_DEBUG_AREATRIGGERS, false, &HandleDebugAreaTriggersCommand, "" },
{ "los", rbac::RBAC_PERM_COMMAND_DEBUG_LOS, false, &HandleDebugLoSCommand, "" },