Fix weapon slot util for IV

This commit is contained in:
Vortrex
2022-03-07 07:38:08 -06:00
parent 157e6c954d
commit dc2c156eb9

View File

@@ -404,7 +404,11 @@ function clearLocalPedState() {
// ===========================================================================
function getWeaponSlot(weaponId) {
return weaponSlots[game.game][weaponId];
if(getGame() == VRR_GAME_GTA_IV) {
return false;
}
return weaponSlots[getGame()][weaponId];
}
// ===========================================================================