structural changes for v0.2

This commit is contained in:
kremsy
2017-03-22 17:57:21 +01:00
parent df2d548755
commit 60524e9244
3 changed files with 83 additions and 24 deletions

View File

@ -47,7 +47,9 @@ class ScriptManager {
return false;
}
$this->maniaControl->getClient()->triggerModeScriptEvent('XmlRpc.EnableCallbacks', array('true'));
//TODO verify that the old S_ isnt needed anymore
$this->maniaControl->getModeScriptEventManager()->enableCallbacks();
Logger::logInfo("Script Callbacks successfully enabled!");
return true;
}