improved server class
This commit is contained in:
1 parent
3622266a36
commit
a4a12298d4
4 files changed
+121
-175
No files matched your search
@@ -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)));
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user