[sorrows-mudlib] r194 committed - Summary: Player's body is not removed from the world when they quit....

0 views
Skip to first unread message

sorrows...@googlecode.com

unread,
Dec 23, 2010, 7:15:36 AM12/23/10
to sorrows-mud...@googlegroups.com
Revision: 194
Author: richard.m.tew
Date: Thu Dec 23 04:14:40 2010
Log: Summary: Player's body is not removed from the world when they quit.
Issue: http://code.google.com/p/sorrows-mudlib/issues/detail?id=24
Description: When the game shell exited, it did not remove the user from
the world. This was because the relevant line had been removed to make the
roguelike game work. The roguelike game can suck it and do things the
right way.
http://code.google.com/p/sorrows-mudlib/source/detail?r=194

Modified:
/trunk/mudlib/shells/user.py

=======================================
--- /trunk/mudlib/shells/user.py Mon Sep 13 05:05:19 2010
+++ /trunk/mudlib/shells/user.py Thu Dec 23 04:14:40 2010
@@ -38,6 +38,7 @@
self.user.Tell('You are logged in as "'+ self.user.name +'".')

def OnRemovalFromStack(self):
+ sorrows.world.RemoveUser(self.user)
Shell.OnRemovalFromStack(self)

def ExecuteCommand(self):

Reply all
Reply to author
Forward
0 new messages