Replaced ITEM_IS_LOOT
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful

This commit is contained in:
Phil 2024-10-06 12:49:02 +02:00
parent c5ca705e78
commit 8866c82256
Signed by: Phil
GPG key ID: 350C8B7C4EF5DED4

View file

@ -350,7 +350,7 @@ MUTATOR_HOOKFUNCTION(mutator_instagib, FilterItem)
switch (item.weapon) switch (item.weapon)
{ {
case WEP_VAPORIZER.m_id: case WEP_VAPORIZER.m_id:
if (ITEM_IS_LOOT(item)) if (Item_IsLoot(item))
{ {
SetResource(item, RES_CELLS, autocvar_g_instagib_ammo_drop); SetResource(item, RES_CELLS, autocvar_g_instagib_ammo_drop);
return false; return false;