Rename biz dealership handler function

This commit is contained in:
Vortrex
2022-07-26 00:57:10 -05:00
parent da6d12c8d7
commit 42bb527844
2 changed files with 2 additions and 2 deletions

View File

@@ -1297,7 +1297,7 @@ function giveDefaultItemsToBusinessCommand(command, params, client) {
* @return {bool} Whether or not the command was successful
*
*/
function setBusinessEntranceLabelToDealershipCommand(command, params, client) {
function setBusinessDealershipCommand(command, params, client) {
let businessId = getPlayerBusiness(client);
if (!getBusinessData(businessId)) {

View File

@@ -145,7 +145,7 @@ function loadCommands() {
new CommandData("bizdelflooritems", deleteBusinessFloorItemsCommand, "", getStaffFlagValue("ManageItems"), true, true, "Destroys all items on the business floor (for-sale items)"),
new CommandData("bizdelstorageitems", deleteBusinessStorageItemsCommand, "", getStaffFlagValue("ManageItems"), true, true, "Destroys all items in the business's storage"),
new CommandData("bizdealership", setBusinessEntranceLabelToDealershipCommand, "", getStaffFlagValue("None"), true, true, "Sets the business's door label to vehicle dealership"),
new CommandData("bizpaintball", setBusinessPaintBallCommand, "", getStaffFlagValue("None"), true, true, "Sets the business to a paintball arena"),
//new CommandData("bizpaintball", setBusinessPaintBallCommand, "", getStaffFlagValue("None"), true, true, "Sets the business to a paintball arena"),
],
chat: [
new CommandData("me", meActionCommand, "<message>", getStaffFlagValue("None"), true, false, "Shows a custom action message in chat"),