Skip to content
Snippets Groups Projects
Commit 38c7532b authored by Rob Swindell's avatar Rob Swindell :speech_balloon:
Browse files

Force a screen pause on abnormal exit.

parent dfe28002
No related branches found
No related tags found
1 merge request!463MRC mods by Codefenix (2024-10-20)
Pipeline #200 canceled
...@@ -322,6 +322,7 @@ try { ...@@ -322,6 +322,7 @@ try {
console.attributes="R"; console.attributes="R";
console.writeln("The game has not been initialized."); console.writeln("The game has not been initialized.");
console.writeln("Please notify the SysOp."); console.writeln("Please notify the SysOp.");
console.pause();
exit(0); exit(0);
} }
...@@ -332,8 +333,10 @@ try { ...@@ -332,8 +333,10 @@ try {
console.attributes="W"; console.attributes="W";
console.writeln("Initializing..."); console.writeln("Initializing...");
console.writeln("Searching my records for your name."); console.writeln("Searching my records for your name.");
if(!LoadPlayer()) if(!LoadPlayer()) {
console.pause();
exit(0); exit(0);
}
console.pause(); console.pause();
while(player.KilledBy==0 && exit_tw2==false) { while(player.KilledBy==0 && exit_tw2==false) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment