Only use models from the active gamemode
This commit is contained in:
parent
18e020bfdf
commit
5429ad9e15
|
@ -31,7 +31,11 @@ Public Class ModelManager
|
|||
|
||||
Public Shared Function ModelExist(ByVal Path As String) As Boolean
|
||||
Dim cContent As ContentManager = ContentPackManager.GetContentManager(Path, ".xnb")
|
||||
|
||||
If cContent.RootDirectory = "Content" Then
|
||||
If GameModeManager.ActiveGameMode.Name <> "Kolben" Then
|
||||
Return False
|
||||
End If
|
||||
End If
|
||||
If Path = "" Then
|
||||
Return False
|
||||
End If
|
||||
|
|
Loading…
Reference in New Issue