diff options
author | treeston <treeston.mmoc@gmail.com> | 2017-06-15 16:56:15 +0200 |
---|---|---|
committer | treeston <treeston.mmoc@gmail.com> | 2017-06-15 16:56:15 +0200 |
commit | b59ca1cc81c08bbe043f8974f41fee191e7fd6ad (patch) | |
tree | 308f06f9490f7847d559f2e694507d2f87192aa9 | |
parent | 250e8d998bca7f239e2393b6d002441f70d4daf0 (diff) |
Rename .debug uws to .debug worldstate (clarity change).
-rw-r--r-- | sql/updates/world/3.3.5/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/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 2adab479d44..05dd5410431 100644 --- a/src/server/scripts/Commands/cs_debug.cpp +++ b/src/server/scripts/Commands/cs_debug.cpp @@ -89,7 +89,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, "" }, |