summaryrefslogtreecommitdiff
path: root/game
diff options
context:
space:
mode:
Diffstat (limited to 'game')
-rw-r--r--game/script.rpy5
1 files changed, 4 insertions, 1 deletions
diff --git a/game/script.rpy b/game/script.rpy
index 7769112..e33e082 100644
--- a/game/script.rpy
+++ b/game/script.rpy
@@ -409,7 +409,10 @@ label quit:
pass
# Terminate IRC connection
- irc_kill()
+ try:
+ irc_kill()
+ except NameError:
+ pass
# Data cleaned up
# Destroy the socket