mirror of
https://github.com/SapphireServer/Sapphire.git
synced 2025-04-26 14:37:44 +00:00
Avoid client crash on setZone
This commit is contained in:
parent
71603f58da
commit
fbba5fb13c
1 changed files with 2 additions and 2 deletions
|
@ -223,10 +223,10 @@ private:
|
|||
[ & ]( Entity::Player& player, const Event::SceneResult& result )
|
||||
{
|
||||
// accepting quest "close to home"
|
||||
player.updateQuest( getId(), 1 );
|
||||
player.updateQuest( getId(), Seq1 );
|
||||
player.setQuestUI8CH( getId(), 1 ); // receive key item
|
||||
// event is done, need to teleport to real zone.
|
||||
player.setZone( 132 );
|
||||
player.forceZoneing( Territorytype0 );
|
||||
//player.setZone(183); back to starting griania for debug purpose
|
||||
} );
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue