mirror of
https://github.com/2revoemag/PSF-BotServer.git
synced 2026-03-03 12:10:22 +00:00
No more pew pew in sanctuaries (#422)
This commit is contained in:
parent
223236877f
commit
ceb58ed39a
1 changed files with 2 additions and 1 deletions
|
|
@ -1193,7 +1193,8 @@ class WorldSessionActor extends Actor
|
|||
log.info(s"Player ${tplayer.Name} has been loaded")
|
||||
player = tplayer
|
||||
//LoadMapMessage causes the client to send BeginZoningMessage, eventually leading to SetCurrentAvatar
|
||||
sendResponse(LoadMapMessage(continent.Map.Name, continent.Id, 40100, 25, true, continent.Map.Checksum))
|
||||
val weaponsEnabled = (continent.Map.Name != "map11" && continent.Map.Name != "map12" && continent.Map.Name != "map13")
|
||||
sendResponse(LoadMapMessage(continent.Map.Name, continent.Id, 40100, 25, weaponsEnabled, continent.Map.Checksum))
|
||||
setupAvatarFunc() //important! the LoadMapMessage must be processed by the client before the avatar is created
|
||||
persist()
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue