mirror of
https://github.com/P3D-Legacy/P3D-Legacy.git
synced 2025-04-08 18:35:09 +02:00
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…
x
Reference in New Issue
Block a user