diff options
Diffstat (limited to 'src/jake2/sys/Sys.java')
-rw-r--r-- | src/jake2/sys/Sys.java | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/src/jake2/sys/Sys.java b/src/jake2/sys/Sys.java index 498750a..8ac8fb1 100644 --- a/src/jake2/sys/Sys.java +++ b/src/jake2/sys/Sys.java @@ -2,7 +2,7 @@ * Sys.java * Copyright (C) 2003 * - * $Id: Sys.java,v 1.11 2005-07-01 14:20:54 hzi Exp $ + * $Id: Sys.java,v 1.12 2008-03-02 20:21:15 kbrussel Exp $ */ /* Copyright (C) 1997-2001 Id Software, Inc. @@ -45,13 +45,17 @@ public final class Sys extends Defines { CL.Shutdown(); //StackTrace(); new Exception(error).printStackTrace(); - System.exit(1); + if (!Globals.appletMode) { + System.exit(1); + } } public static void Quit() { CL.Shutdown(); - System.exit(0); + if (!Globals.appletMode) { + System.exit(0); + } } //ok! @@ -240,4 +244,4 @@ public final class Sys extends Defines { System.out.print(msg); } -}
\ No newline at end of file +} |