mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-16 22:58:09 +00:00
ZVISION: Don't add new timer if sidefx with same key exist
This commit is contained in:
parent
6210ead126
commit
226ccb0de7
@ -607,6 +607,8 @@ ActionTimer::~ActionTimer() {
|
||||
}
|
||||
|
||||
bool ActionTimer::execute() {
|
||||
if (_engine->getScriptManager()->getSideFX(_slotkey))
|
||||
return true;
|
||||
_engine->getScriptManager()->addSideFX(new TimerNode(_engine, _slotkey, _time->getValue()));
|
||||
return true;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user