Fix ranged weapon fire rates being stuttery.

Now we just send a fire message to the server every frame. Absolutely terrible!
This commit is contained in:
Pieter-Jan Briers
2020-01-09 00:27:23 +01:00
parent e31078d8ef
commit 33782ed7f3
4 changed files with 6 additions and 22 deletions

View File

@@ -68,7 +68,7 @@ namespace Content.Client.GameObjects.EntitySystems
if (weapon.Automatic || canFireSemi)
{
weapon.TryFire(worldPos);
weapon.SyncFirePos(worldPos);
}
}
}