mirror of
https://github.com/psforever/PSF-LoginServer.git
synced 2026-07-09 05:24:43 +00:00
Disable friendly-fire warning for amenities in VR
This commit is contained in:
parent
51b8956869
commit
42726fded2
1 changed files with 0 additions and 3 deletions
|
|
@ -462,9 +462,6 @@ class SessionData(
|
|||
case obj: Amenity if obj.CanDamage =>
|
||||
if (obj.IsInVRZone && obj.Faction == player.Faction) {
|
||||
//disable friendly-fire in VR zones
|
||||
if (data.resolution != DamageResolution.Splash) { //don't do the grief warning against amenities from splash damage
|
||||
general.trainingGriefWarning()
|
||||
}
|
||||
} else {
|
||||
obj.Actor ! Vitality.Damage(func)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue