File tree Expand file tree Collapse file tree 7 files changed +10
-55
lines changed
Expand file tree Collapse file tree 7 files changed +10
-55
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -962,7 +962,7 @@ void CreateAdvancedServerParameterControls()
962962 Description = "The tool will monitor the server for crashes and attempt to restart it automatically."
963963 } ;
964964 autoRestartOnCrash . CheckBox . CheckedChanged += AutoRestartOnCrashCheckChanged ;
965- autoRestartOnCrash . CheckBox . Checked = loadedSettings [ "autoRestartOnCrash" ] . Enabled ;
965+ autoRestartOnCrash . CheckBox . Checked = loadedSettings . ContainsKey ( "autoRestartOnCrash" ) ? loadedSettings [ "autoRestartOnCrash" ] . Enabled : false ;
966966 advancedParametersPanel . Controls . Add ( autoRestartOnCrash ) ;
967967
968968 AdvancedServerParameterNumeric autoReload = new ( )
Original file line number Diff line number Diff line change 77 <ImplicitUsings >enable</ImplicitUsings >
88 <ProduceReferenceAssembly >False</ProduceReferenceAssembly >
99 <Company >soda3x</Company >
10- <AssemblyVersion >1.0.0 </AssemblyVersion >
11- <FileVersion >1.0.0 </FileVersion >
10+ <AssemblyVersion >1.0.1 </AssemblyVersion >
11+ <FileVersion >1.0.1 </FileVersion >
1212 <ApplicationIcon >Resources\arma_icon_white.ico</ApplicationIcon >
1313 <PublishSingleFile >true</PublishSingleFile >
1414 <OutputType >winexe</OutputType >
Original file line number Diff line number Diff line change @@ -516,6 +516,11 @@ public string GetSavesPath()
516516 /// <returns>Dictionary of Saved Games</returns>
517517 public Dictionary < string , string > GetSavedGames ( )
518518 {
519+ if ( ! Directory . Exists ( m_savesPath ) )
520+ {
521+ Directory . CreateDirectory ( m_savesPath ) ;
522+ Log . Debug ( "FileIOManager - Saves path doesn't exist, created it..." ) ;
523+ }
519524 List < string > savedGameNames = Directory . GetFiles ( m_savesPath , "*.json" )
520525 . Select ( Path . GetFileNameWithoutExtension )
521526 . ToList ( ) ! ;
Original file line number Diff line number Diff line change @@ -38,8 +38,7 @@ static void Main()
3838 try
3939 {
4040 Log . Information ( "Longbow starting..." ) ;
41- Application . EnableVisualStyles ( ) ;
42- Application . SetCompatibleTextRenderingDefault ( false ) ;
41+ ApplicationConfiguration . Initialize ( ) ;
4342 Application . Run ( new Main ( ) ) ;
4443 }
4544 catch ( Exception ex )
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1- 1.0.0
1+ 1.0.1
You can’t perform that action at this time.
0 commit comments