mirror of
https://github.com/P3D-Legacy/P3D-Legacy.git
synced 2025-07-27 07:44:31 +02:00
Don't add default berrydata on custom gamemodes
This commit is contained in:
parent
2620084c76
commit
3318e02c67
@ -448,13 +448,16 @@
|
|||||||
Dim Berries() As String = System.IO.File.ReadAllLines(GameModeManager.GetContentFilePath("Data\BerryData.dat"))
|
Dim Berries() As String = System.IO.File.ReadAllLines(GameModeManager.GetContentFilePath("Data\BerryData.dat"))
|
||||||
|
|
||||||
For i = 0 To Berries.Count - 1
|
For i = 0 To Berries.Count - 1
|
||||||
s &= Berries(i)
|
If Berries(i) <> "" Then
|
||||||
If i < Berries.Count - 1 Then
|
s &= Berries(i)
|
||||||
s &= Environment.NewLine
|
If i < Berries.Count - 1 Then
|
||||||
|
s &= Environment.NewLine
|
||||||
|
End If
|
||||||
End If
|
End If
|
||||||
Next
|
Next
|
||||||
Else
|
Else
|
||||||
s = "{route29.dat|13,0,5|6|2|0|2012,9,21,4,0,0|1}" & Environment.NewLine &
|
If GameModeManager.ActiveGameMode.IsDefaultGamemode = True Then
|
||||||
|
s = "{route29.dat|13,0,5|6|2|0|2012,9,21,4,0,0|1}" & Environment.NewLine &
|
||||||
"{route29.dat|14,0,5|6|2|0|2012,9,21,4,0,0|1}" & Environment.NewLine &
|
"{route29.dat|14,0,5|6|2|0|2012,9,21,4,0,0|1}" & Environment.NewLine &
|
||||||
"{route29.dat|15,0,5|6|2|0|2012,9,21,4,0,0|1}" & Environment.NewLine &
|
"{route29.dat|15,0,5|6|2|0|2012,9,21,4,0,0|1}" & Environment.NewLine &
|
||||||
"{azalea.dat|9,0,3|0|2|0|2012,9,21,4,0,0|1}" & Environment.NewLine &
|
"{azalea.dat|9,0,3|0|2|0|2012,9,21,4,0,0|1}" & Environment.NewLine &
|
||||||
@ -480,6 +483,7 @@
|
|||||||
"{safarizone\main.dat|3,0,11|5|2|0|2012,9,21,4,0,0|1}" & Environment.NewLine &
|
"{safarizone\main.dat|3,0,11|5|2|0|2012,9,21,4,0,0|1}" & Environment.NewLine &
|
||||||
"{safarizone\main.dat|4,0,11|0|2|0|2012,9,21,4,0,0|1}" & Environment.NewLine &
|
"{safarizone\main.dat|4,0,11|0|2|0|2012,9,21,4,0,0|1}" & Environment.NewLine &
|
||||||
"{safarizone\main.dat|5,0,11|6|3|0|2012,9,21,4,0,0|1}"
|
"{safarizone\main.dat|5,0,11|6|3|0|2012,9,21,4,0,0|1}"
|
||||||
|
End If
|
||||||
End If
|
End If
|
||||||
|
|
||||||
Return s
|
Return s
|
||||||
|
Loading…
x
Reference in New Issue
Block a user