Skip to content

Commit c403591

Browse files
authored
Merge pull request #1046 from NexiusTailer/patch-1
Fix for non-bullet guns returned as 0 in weapon data
2 parents 601de2e + 24c7e7f commit c403591

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

Server/Source/player_impl.hpp

-4
Original file line numberDiff line numberDiff line change
@@ -1359,10 +1359,6 @@ struct Player final : public IPlayer, public PoolIDProvider, public NoCopy
13591359
return ret;
13601360
}
13611361
WeaponSlotData ret = weapons_[slot];
1362-
if (ret.ammo == 0)
1363-
{
1364-
ret.id = 0;
1365-
}
13661362
return ret;
13671363
}
13681364

0 commit comments

Comments
 (0)