- Moved FML into core folder

- Endurance plugin
- map class nbCheckpoints
- added script callbacks registration
This commit is contained in:
Steffen Schröder
2013-11-25 19:46:29 +01:00
parent 65394e165e
commit 7f1646f25d
65 changed files with 141 additions and 4 deletions

View File

@ -23,6 +23,7 @@ class Map {
public $copperPrice = 0;
public $mapType = '';
public $mapStyle = '';
public $nbCheckpoints = -1;
public $mx = null;
public $authorLogin = '';
public $authorNick = '';
@ -60,6 +61,7 @@ class Map {
$this->copperPrice = $rpc_infos['CopperPrice'];
$this->mapType = $rpc_infos['MapType'];
$this->mapStyle = $rpc_infos['MapStyle'];
$this->nbCheckpoints = $rpc_infos['NbCheckpoints'];
$mapsDirectory = $this->maniaControl->server->getMapsDirectory();
if ($this->maniaControl->server->checkAccess($mapsDirectory)) {