mirror of
https://github.com/psforever/PSF-LoginServer.git
synced 2026-03-07 06:20:29 +00:00
It sucks. (#373)
* a short-term solutiojn to ensure new Player entities have control agencies, that also sucks * it still sucks, but just a little less
This commit is contained in:
parent
16fcb2b927
commit
2f6af23207
1 changed files with 7 additions and 2 deletions
|
|
@ -1212,7 +1212,12 @@ class WorldSessionActor extends Actor
|
|||
}
|
||||
|
||||
case SetCurrentAvatar(tplayer) =>
|
||||
HandleSetCurrentAvatar(tplayer)
|
||||
if(tplayer.Actor == ActorRef.noSender) {
|
||||
respawnTimer = context.system.scheduler.scheduleOnce(100 milliseconds, self, SetCurrentAvatar(tplayer))
|
||||
}
|
||||
else {
|
||||
HandleSetCurrentAvatar(tplayer)
|
||||
}
|
||||
|
||||
case NtuCharging(tplayer, vehicle) =>
|
||||
HandleNtuCharging(tplayer, vehicle)
|
||||
|
|
@ -4191,7 +4196,7 @@ class WorldSessionActor extends Actor
|
|||
log.warn(s"ProjectileState: constructed projectile ${projectile_guid.guid} can not be found")
|
||||
}
|
||||
|
||||
case msg@ReleaseAvatarRequestMessage() =>
|
||||
case msg @ ReleaseAvatarRequestMessage() =>
|
||||
log.info(s"ReleaseAvatarRequest: ${player.GUID} on ${continent.Id} has released")
|
||||
reviveTimer.cancel
|
||||
GoToDeploymentMap()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue