Skip to content

Commit 0b9c71a

Browse files
committed
v1.3.1
* Fixed System.Runtime.Serialization.SerializationException exception.
1 parent e77e0f4 commit 0b9c71a

5 files changed

Lines changed: 14 additions & 18 deletions

File tree

SLAM/Form1.vb

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ Imports System.Text.RegularExpressions
55
Imports System.Threading
66
Imports SLAM.XmlSerialization
77
Imports SLAM.SourceGame
8-
Imports SLAM.Track
98
Imports System.Net.Http
109

1110
Public Class Form1
@@ -782,10 +781,10 @@ Public Class Form1
782781

783782
For Each index In TrackList.SelectedIndices
784783
GetCurrentGame.tracks(index).volume = SetVolumeDialog.Volume
785-
SaveTrackKeys(GetCurrentGame)
786-
ReloadTracks(GetCurrentGame)
787-
RefreshTrackList()
788784
Next
785+
SaveTrackKeys(GetCurrentGame)
786+
ReloadTracks(GetCurrentGame)
787+
RefreshTrackList()
789788

790789
End If
791790

SLAM/My Project/AssemblyInfo.vb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,5 +31,5 @@ Imports System.Runtime.InteropServices
3131
' by using the '*' as shown below:
3232
' <Assembly: AssemblyVersion("1.0.*")>
3333

34-
<Assembly: AssemblyVersion("1.3.0.0")>
35-
<Assembly: AssemblyFileVersion("1.3.0.0")>
34+
<Assembly: AssemblyVersion("1.3.1.0")>
35+
<Assembly: AssemblyFileVersion("1.3.1.0")>

SLAM/SLAM.vbproj

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,6 @@
137137
<SubType>UserControl</SubType>
138138
</Compile>
139139
<Compile Include="SourceGame.vb" />
140-
<Compile Include="Track.vb" />
141140
<Compile Include="TrimForm.Designer.vb">
142141
<DependentUpon>TrimForm.vb</DependentUpon>
143142
</Compile>

SLAM/SourceGame.vb

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
1-
Imports SLAM.Track
2-
3-
Public Class SourceGame
1+
Public Class SourceGame
42
Public name As String
53
Public id As Integer
64
Public directory As String
@@ -19,4 +17,12 @@ Public Class SourceGame
1917
Public tracks As New List(Of Track)
2018
Public blacklist As New List(Of String) From {"slam", "slam_listtracks", "list", "tracks", "la", "slam_play", "slam_play_on", "slam_play_off", "slam_updatecfg", "slam_curtrack", "slam_saycurtrack", "slam_sayteamcurtrack"}
2119

20+
Public Class track
21+
Public name As String
22+
Public tags As New List(Of String)
23+
Public hotkey As String = vbNullString
24+
Public volume As Integer = 100
25+
Public startpos As Integer
26+
Public endpos As Integer
27+
End Class
2228
End Class

SLAM/Track.vb

Lines changed: 0 additions & 8 deletions
This file was deleted.

0 commit comments

Comments
 (0)