mirror of
https://github.com/2revoemag/PSF-BotServer.git
synced 2026-04-26 06:15:21 +00:00
Reduce the amount of actor message spam from vanu turrets recharging their ammo constantly
This commit is contained in:
parent
eabb952683
commit
31440d341b
3 changed files with 23 additions and 5 deletions
|
|
@ -5850,6 +5850,12 @@ class WorldSessionActor extends Actor
|
|||
})
|
||||
}
|
||||
projectilesToCleanUp(projectileIndex) = false
|
||||
|
||||
obj match {
|
||||
case turret : FacilityTurret if turret.Definition == GlobalDefinitions.vanu_sentry_turret =>
|
||||
turret.Actor ! FacilityTurret.WeaponDischarged()
|
||||
case _ => ;
|
||||
}
|
||||
}
|
||||
else {
|
||||
log.warn(s"WeaponFireMessage: $player's ${tool.Definition.Name} projectile is too far from owner position at time of discharge ($distanceToOwner > $acceptableDistanceToOwner); suspect")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue