mirror of
https://github.com/overte-org/overte.git
synced 2025-04-20 13:03:55 +02:00
Remove obsolete comment.
This commit is contained in:
parent
bbdf9f1d9f
commit
5608892a15
1 changed files with 0 additions and 1 deletions
|
@ -394,7 +394,6 @@ void ScriptEngine::generalHandler(const EntityItemID& entityID, const QString& e
|
|||
if (!_registeredHandlers.contains(entityID)) return;
|
||||
const RegisteredEventHandlers& handlersOnEntity = _registeredHandlers[entityID];
|
||||
if (!handlersOnEntity.contains(eventName)) return;
|
||||
// FIXME: Need one more level of indirection. We need to allow multiple handlers per event, registered by different scripts.
|
||||
QScriptValueList handlersForEvent = handlersOnEntity[eventName];
|
||||
if (!handlersForEvent.isEmpty()) {
|
||||
QScriptValueList args = argGenerator();
|
||||
|
|
Loading…
Reference in a new issue