mirror of
https://github.com/SapphireServer/Sapphire.git
synced 2025-05-06 10:47:45 +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()
|
std::pair< uint8_t, uint32_t > Sapphire::StatusEffect::StatusEffect::getTickEffect()
|
||||||
{
|
{
|
||||||
auto thisTick = m_currTickEffect;
|
return m_currTickEffect;
|
||||||
m_currTickEffect = std::make_pair( 0, 0 );
|
|
||||||
return thisTick;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void Sapphire::StatusEffect::StatusEffect::onTick()
|
void Sapphire::StatusEffect::StatusEffect::onTick()
|
||||||
|
|
Loading…
Add table
Reference in a new issue