Skip to content

Commit

Permalink
v1.3.1
Browse files Browse the repository at this point in the history
* Fixed System.Runtime.Serialization.SerializationException exception.
  • Loading branch information
SilentSys committed Mar 4, 2016
1 parent e77e0f4 commit 0b9c71a
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 18 deletions.
7 changes: 3 additions & 4 deletions SLAM/Form1.vb
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ Imports System.Text.RegularExpressions
Imports System.Threading
Imports SLAM.XmlSerialization
Imports SLAM.SourceGame
Imports SLAM.Track
Imports System.Net.Http

Public Class Form1
Expand Down Expand Up @@ -782,10 +781,10 @@ Public Class Form1

For Each index In TrackList.SelectedIndices
GetCurrentGame.tracks(index).volume = SetVolumeDialog.Volume
SaveTrackKeys(GetCurrentGame)
ReloadTracks(GetCurrentGame)
RefreshTrackList()
Next
SaveTrackKeys(GetCurrentGame)
ReloadTracks(GetCurrentGame)
RefreshTrackList()

End If

Expand Down
4 changes: 2 additions & 2 deletions SLAM/My Project/AssemblyInfo.vb
Original file line number Diff line number Diff line change
Expand Up @@ -31,5 +31,5 @@ Imports System.Runtime.InteropServices
' by using the '*' as shown below:
' <Assembly: AssemblyVersion("1.0.*")>

<Assembly: AssemblyVersion("1.3.0.0")>
<Assembly: AssemblyFileVersion("1.3.0.0")>
<Assembly: AssemblyVersion("1.3.1.0")>
<Assembly: AssemblyFileVersion("1.3.1.0")>
1 change: 0 additions & 1 deletion SLAM/SLAM.vbproj
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,6 @@
<SubType>UserControl</SubType>
</Compile>
<Compile Include="SourceGame.vb" />
<Compile Include="Track.vb" />
<Compile Include="TrimForm.Designer.vb">
<DependentUpon>TrimForm.vb</DependentUpon>
</Compile>
Expand Down
12 changes: 9 additions & 3 deletions SLAM/SourceGame.vb
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
Imports SLAM.Track

Public Class SourceGame
Public Class SourceGame
Public name As String
Public id As Integer
Public directory As String
Expand All @@ -19,4 +17,12 @@ Public Class SourceGame
Public tracks As New List(Of Track)
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"}

Public Class track
Public name As String
Public tags As New List(Of String)
Public hotkey As String = vbNullString
Public volume As Integer = 100
Public startpos As Integer
Public endpos As Integer
End Class
End Class
8 changes: 0 additions & 8 deletions SLAM/Track.vb

This file was deleted.

0 comments on commit 0b9c71a

Please sign in to comment.