mirror of
https://github.com/psforever/PSF-LoginServer.git
synced 2026-07-16 08:55:18 +00:00
Update ZoningOperations.scala
Rearranging order and priority of conditions
This commit is contained in:
parent
1f2cd9ac07
commit
b1e76c84e5
1 changed files with 4 additions and 2 deletions
|
|
@ -3076,8 +3076,10 @@ class ZoningOperations(
|
||||||
setAvatar = true
|
setAvatar = true
|
||||||
player.allowInteraction = true
|
player.allowInteraction = true
|
||||||
upstreamMessageCount = 0
|
upstreamMessageCount = 0
|
||||||
if (!setAvatar && tplayer.spectator) {
|
if (tplayer.spectator) {
|
||||||
context.self ! SessionActor.SetMode(SpectatorMode) //should reload spectator status
|
if (!setAvatar) {
|
||||||
|
context.self ! SessionActor.SetMode(SpectatorMode) //should reload spectator status
|
||||||
|
}
|
||||||
} else if (
|
} else if (
|
||||||
!account.gm && /* gm's are excluded */
|
!account.gm && /* gm's are excluded */
|
||||||
Config.app.game.promotion.active && /* play versus progress system must be active */
|
Config.app.game.promotion.active && /* play versus progress system must be active */
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue