titleprefix fix
This commit is contained in:
		
				
					committed by
					
						 Steffen Schröder
						Steffen Schröder
					
				
			
			
				
	
			
			
			
						parent
						
							49805f06b3
						
					
				
				
					commit
					dbdc318bba
				
			| @@ -381,12 +381,8 @@ class SlotMachinePlugin implements Plugin, CallbackListener, ManialinkPageAnswer | ||||
| 		$itemMarginFactorY = 1.2; | ||||
| 		$posY += $width * $itemMarginFactorY; | ||||
|  | ||||
| 		// Get Title Id | ||||
| 		$titleId     = $this->maniaControl->server->titleId; | ||||
| 		$titlePrefix = strtoupper(substr($titleId, 0, 2)); | ||||
|  | ||||
| 		//If game is shootmania lower the icons position by 20 | ||||
| 		if ($titlePrefix == 'SM') { | ||||
| 		if($this->maniaControl->mapManager->getCurrentMap()->getGame() == 'sm') { | ||||
| 			$posY -= $shootManiaOffset; | ||||
| 		} | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user