1
Fork 0
mirror of https://github.com/SapphireServer/Sapphire.git synced 2025-05-13 14:07:46 +00:00
This commit is contained in:
collett 2020-02-08 00:43:49 +09:00
parent 39aa49f092
commit 333650c3d5

View file

@ -33,7 +33,7 @@ public:
{
player.playScene( eventId, 2, 0, [this]( Entity::Player& player, const Event::SceneResult& result )
{
if( result.param1 == 256 )
if( result.param1 == 256 && result.param2 != 0 )
{
player.teleport( result.param2, 2 );
}
@ -69,7 +69,7 @@ public:
}
else if( result.param1 == 512 ) // aethernet access
{
if( result.param2 == 4 )
if( result.param2 == 4 && result.param3 != 0 )
{
player.teleport( result.param3, 2 );
}