dedimania continue
This commit is contained in:
		
				
					committed by
					
						
						Steffen Schröder
					
				
			
			
				
	
			
			
			
						parent
						
							deb08cfbd0
						
					
				
				
					commit
					6affb6825b
				
			@@ -24,6 +24,7 @@ class Map {
 | 
			
		||||
	public $mapType = '';
 | 
			
		||||
	public $mapStyle = '';
 | 
			
		||||
	public $nbCheckpoints = -1;
 | 
			
		||||
	public $nbLaps = -1;
 | 
			
		||||
	/** @var MXMapInfo $mx */
 | 
			
		||||
	public $mx = null;
 | 
			
		||||
	public $authorLogin = '';
 | 
			
		||||
@@ -57,6 +58,7 @@ class Map {
 | 
			
		||||
		$this->mapType       = $mpMap->mapType;
 | 
			
		||||
		$this->mapStyle      = $mpMap->mapStyle;
 | 
			
		||||
		$this->nbCheckpoints = $mpMap->nbCheckpoints;
 | 
			
		||||
		$this->nbLaps        = $mpMap->nbLaps;
 | 
			
		||||
 | 
			
		||||
		$this->authorNick = $this->authorLogin;
 | 
			
		||||
	}
 | 
			
		||||
 
 | 
			
		||||
@@ -377,6 +377,7 @@ class MapManager implements CallbackListener {
 | 
			
		||||
		if (array_key_exists($rpcMap->uId, $this->maps)) {
 | 
			
		||||
			$this->currentMap                = $this->maps[$rpcMap->uId];
 | 
			
		||||
			$this->currentMap->nbCheckpoints = $rpcMap->nbCheckpoints;
 | 
			
		||||
			$this->currentMap->nbLaps        = $rpcMap->nbLaps;
 | 
			
		||||
			return true;
 | 
			
		||||
		}
 | 
			
		||||
		$map                   = $this->initializeMap($rpcMap);
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user