diff options
author | treeston <treeston.mmoc@gmail.com> | 2017-06-15 16:56:15 +0200 |
---|---|---|
committer | Carbenium <carbenium@outlook.com> | 2020-07-16 22:00:29 +0200 |
commit | 29db04c3c92c0a6ca5d35d3fcc49d7766e3eddc3 (patch) | |
tree | 869444ed36710ebbb50c26f4aec999563cbf7c27 | |
parent | e3077813d5bf4521fff8be3ea24db231ed00c02f (diff) |
Rename .debug uws to .debug worldstate (clarity change).
(cherry picked from commit b59ca1cc81c08bbe043f8974f41fee191e7fd6ad)
-rw-r--r-- | sql/updates/world/master/2020_07_16_06_world_2017_04_15_01_world.sql | 4 | ||||
-rw-r--r-- | src/server/scripts/Commands/cs_debug.cpp | 2 |
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, "" }, |