mirror of
https://github.com/psforever/PSF-LoginServer.git
synced 2026-07-08 13:04:41 +00:00
Remove VR friendly-fire invulnerability from deployables
This commit is contained in:
parent
1f193a2ab0
commit
fdec30bea0
1 changed files with 1 additions and 8 deletions
|
|
@ -477,14 +477,7 @@ class SessionData(
|
|||
} else {
|
||||
log.info(s"$name is attacking $ownerName's ${obj.Definition.Name}")
|
||||
}
|
||||
if (obj.IsInVRZone && obj.Faction == player.Faction) {
|
||||
//disable friendly-fire in VR zones
|
||||
if (!ownerName.equals(name)) {
|
||||
general.trainingGriefWarning()
|
||||
}
|
||||
} else {
|
||||
obj.Actor ! Vitality.Damage(func)
|
||||
}
|
||||
obj.Actor ! Vitality.Damage(func)
|
||||
|
||||
case _ => ()
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue