mirror of
https://github.com/islehorse/HISP.git
synced 2025-04-07 13:45:42 +12:00
fix build error
This commit is contained in:
parent
0356930a5c
commit
1f8cdd7423
1 changed files with 2 additions and 2 deletions
|
@ -94,7 +94,7 @@ namespace HISP
|
||||||
string[] fileList = Directory.GetFiles(Path.Combine(baseDir, "client"), "*", SearchOption.AllDirectories);
|
string[] fileList = Directory.GetFiles(Path.Combine(baseDir, "client"), "*", SearchOption.AllDirectories);
|
||||||
foreach (string file in fileList)
|
foreach (string file in fileList)
|
||||||
addToList(file);
|
addToList(file);
|
||||||
}catch(Exception as e){
|
}catch(Exception e){
|
||||||
MessageBox.Show("Web server failed to start: "+e.Message, "Error starting web server", MessageBoxButtons.OK, MessageBoxIcon.Error);
|
MessageBox.Show("Web server failed to start: "+e.Message, "Error starting web server", MessageBoxButtons.OK, MessageBoxIcon.Error);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -144,7 +144,7 @@ namespace HISP
|
||||||
IncrementProgress();
|
IncrementProgress();
|
||||||
try{
|
try{
|
||||||
GameServer.StartServer();
|
GameServer.StartServer();
|
||||||
}catch(Exception as e){
|
}catch(Exception e){
|
||||||
MessageBox.Show("Horse Isle server failed to start: "+e.Message, "Error starting web server", MessageBoxButtons.OK, MessageBoxIcon.Error);
|
MessageBox.Show("Horse Isle server failed to start: "+e.Message, "Error starting web server", MessageBoxButtons.OK, MessageBoxIcon.Error);
|
||||||
}
|
}
|
||||||
IncrementProgress();
|
IncrementProgress();
|
||||||
|
|
Loading…
Add table
Reference in a new issue