mirror of
https://github.com/SapphireServer/Sapphire.git
synced 2025-05-06 02:37:47 +00:00
Don't clear tick effect
This commit is contained in:
parent
b94e7f4b2f
commit
b3098fec87
1 changed files with 1 additions and 3 deletions
|
@ -62,9 +62,7 @@ void Sapphire::StatusEffect::StatusEffect::registerTickEffect( uint8_t type, uin
|
|||
|
||||
std::pair< uint8_t, uint32_t > Sapphire::StatusEffect::StatusEffect::getTickEffect()
|
||||
{
|
||||
auto thisTick = m_currTickEffect;
|
||||
m_currTickEffect = std::make_pair( 0, 0 );
|
||||
return thisTick;
|
||||
return m_currTickEffect;
|
||||
}
|
||||
|
||||
void Sapphire::StatusEffect::StatusEffect::onTick()
|
||||
|
|
Loading…
Add table
Reference in a new issue