This commit is contained in:
Sardelka 2022-05-31 10:11:06 +08:00
parent a48170fec8
commit a33f839004

View File

@ -176,6 +176,7 @@ namespace RageCoop.Client {
if (p == null) { p=Game.Player.Character; Main.Logger.Warning("Failed to find owner for bullet"); }
if (_lastWeaponHash!=weaponHash)
{
_weaponAsset.MarkAsNoLongerNeeded();
_weaponAsset=new WeaponAsset(weaponHash);
_lastWeaponHash=weaponHash;
}