1
Fork 0
mirror of https://github.com/SapphireServer/Sapphire.git synced 2025-04-25 14:07:46 +00:00

Merge pull request #940 from collett8192/Sapphire5.58

fix event item action not executing without cast time
This commit is contained in:
Mordred 2023-06-13 23:01:43 +02:00 committed by GitHub
commit f4b83d16a2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -67,4 +67,6 @@ void EventItemAction::execute()
void EventItemAction::start()
{
m_startTime = Common::Util::getTimeMs();
if( !hasCastTime() )
execute();
}