Change configs

This commit is contained in:
Vortrex
2020-12-25 18:19:31 -06:00
parent 8364a18dfd
commit 9fe7f1eb24

View File

@@ -103,19 +103,19 @@ addNetworkHandler("ag.afk", function(client, afkState) {
// Not implemented yet
addNetworkHandler("ag.heldKey", function(client, key) {
switch(key) {
case getServerConfig().keybinds.actionKey:
case getGlobalConfig().keybinds.actionKey:
processHoldActionKey(client);
break;
case getServerConfig().keybinds.vehicleLightsKey:
case getGlobalConfig().keybinds.vehicleLightsKey:
processHoldVehicleLightsKey(client);
break;
case getServerConfig().keybinds.vehicleLockKey:
case getGlobalConfig().keybinds.vehicleLockKey:
processHoldVehicleLockKey(client);
break;
case getServerConfig().keybinds.vehicleEngineKey:
case getGlobalConfig().keybinds.vehicleEngineKey:
processHoldVehicleEngineKey(client);
break;
}