mirror of
https://github.com/SapphireServer/Sapphire.git
synced 2025-04-25 22:17:45 +00:00
Merge pull request #940 from collett8192/Sapphire5.58
fix event item action not executing without cast time
This commit is contained in:
commit
f4b83d16a2
1 changed files with 2 additions and 0 deletions
|
@ -67,4 +67,6 @@ void EventItemAction::execute()
|
||||||
void EventItemAction::start()
|
void EventItemAction::start()
|
||||||
{
|
{
|
||||||
m_startTime = Common::Util::getTimeMs();
|
m_startTime = Common::Util::getTimeMs();
|
||||||
|
if( !hasCastTime() )
|
||||||
|
execute();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue