1
Fork 0
mirror of https://github.com/SapphireServer/Sapphire.git synced 2025-04-27 22:57:45 +00:00

fix casting stateflag not being unset after finishing a cast

This commit is contained in:
NotAdam 2019-03-07 22:41:05 +11:00
parent a4959a6eee
commit d9419b49b4

View file

@ -272,6 +272,10 @@ void Sapphire::Action::Action::execute()
0x219, m_id, m_id, m_id, m_id );
m_pSource->sendToInRangeSet( control, true );*/
if( auto player = m_pSource->getAsPlayer() )
{
player->unsetStateFlag( PlayerStateFlag::Casting );
}
}
if( !hasClientsideTarget() )