1
0
mirror of https://github.com/JezuzLizard/BO2-Reimagined.git synced 2025-06-10 15:17:57 -05:00

Disable melee weapon switching if player has Time Bomb

This commit is contained in:
Jbleezy
2022-01-20 20:31:22 -08:00
parent 5b886c33c9
commit a2f5f42224

View File

@ -1832,7 +1832,7 @@ melee_weapon_switch_watcher()
prev_wep = curr_wep;
}
if(self actionSlotTwoButtonPressed() && !self hasWeapon("equip_dieseldrone_zm"))
if(self actionSlotTwoButtonPressed() && !self hasWeapon("time_bomb_zm") && !self hasWeapon("time_bomb_detonator_zm") && !self hasWeapon("equip_dieseldrone_zm"))
{
if(curr_wep != melee_wep)
{