opt
This commit is contained in:
@ -176,6 +176,7 @@ namespace RageCoop.Client {
|
|||||||
if (p == null) { p=Game.Player.Character; Main.Logger.Warning("Failed to find owner for bullet"); }
|
if (p == null) { p=Game.Player.Character; Main.Logger.Warning("Failed to find owner for bullet"); }
|
||||||
if (_lastWeaponHash!=weaponHash)
|
if (_lastWeaponHash!=weaponHash)
|
||||||
{
|
{
|
||||||
|
_weaponAsset.MarkAsNoLongerNeeded();
|
||||||
_weaponAsset=new WeaponAsset(weaponHash);
|
_weaponAsset=new WeaponAsset(weaponHash);
|
||||||
_lastWeaponHash=weaponHash;
|
_lastWeaponHash=weaponHash;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user