mirror of
https://github.com/SapphireServer/Sapphire.git
synced 2025-04-28 23:27:45 +00:00
fix casting stateflag not being unset after finishing a cast
This commit is contained in:
parent
a4959a6eee
commit
d9419b49b4
1 changed files with 4 additions and 0 deletions
|
@ -272,6 +272,10 @@ void Sapphire::Action::Action::execute()
|
||||||
0x219, m_id, m_id, m_id, m_id );
|
0x219, m_id, m_id, m_id, m_id );
|
||||||
m_pSource->sendToInRangeSet( control, true );*/
|
m_pSource->sendToInRangeSet( control, true );*/
|
||||||
|
|
||||||
|
if( auto player = m_pSource->getAsPlayer() )
|
||||||
|
{
|
||||||
|
player->unsetStateFlag( PlayerStateFlag::Casting );
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if( !hasClientsideTarget() )
|
if( !hasClientsideTarget() )
|
||||||
|
|
Loading…
Add table
Reference in a new issue