improved server class

This commit is contained in:
Steffen Schröder
2013-11-10 20:09:08 +01:00
parent 3622266a36
commit a4a12298d4
4 changed files with 121 additions and 175 deletions

View File

@ -79,7 +79,7 @@ class Callbacks {
$this->triggerCallback(self::CB_MC_ONINIT, array(self::CB_MC_ONINIT));
// Simulate begin map
$map = $this->maniaControl->server->getMap();
$map = $this->maniaControl->server->getCurrentMap();
if ($map) {
$this->triggerCallback(self::CB_MC_BEGINMAP, array(self::CB_MC_BEGINMAP, array($map)));
}