mirror of
https://github.com/islehorse/HISP.git
synced 2025-04-07 13:45:42 +12:00
fix trying to run when it cant
This commit is contained in:
parent
1f8cdd7423
commit
7941fbd881
1 changed files with 2 additions and 0 deletions
|
@ -96,6 +96,7 @@ namespace HISP
|
||||||
addToList(file);
|
addToList(file);
|
||||||
}catch(Exception 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);
|
||||||
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
IncrementProgress();
|
IncrementProgress();
|
||||||
|
@ -146,6 +147,7 @@ namespace HISP
|
||||||
GameServer.StartServer();
|
GameServer.StartServer();
|
||||||
}catch(Exception 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);
|
||||||
|
return;
|
||||||
}
|
}
|
||||||
IncrementProgress();
|
IncrementProgress();
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue