mirror of
https://github.com/psforever/PSF-LoginServer.git
synced 2026-03-02 20:10:24 +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
|
||||
player.allowInteraction = true
|
||||
upstreamMessageCount = 0
|
||||
if (!setAvatar && tplayer.spectator) {
|
||||
context.self ! SessionActor.SetMode(SpectatorMode) //should reload spectator status
|
||||
if (tplayer.spectator) {
|
||||
if (!setAvatar) {
|
||||
context.self ! SessionActor.SetMode(SpectatorMode) //should reload spectator status
|
||||
}
|
||||
} else if (
|
||||
!account.gm && /* gm's are excluded */
|
||||
Config.app.game.promotion.active && /* play versus progress system must be active */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue