[wpdev-commits] xmlscripts/scripts bandages.py,1.15,1.16
Brought to you by:
rip,
thiagocorrea
From: Sebastian H. <dar...@us...> - 2004-10-08 11:06:05
|
Update of /cvsroot/wpdev/xmlscripts/scripts In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv30010 Modified Files: bandages.py Log Message: fixed foreign characters in page system. fixed bandages for logged out chars Index: bandages.py =================================================================== RCS file: /cvsroot/wpdev/xmlscripts/scripts/bandages.py,v retrieving revision 1.15 retrieving revision 1.16 diff -C2 -d -r1.15 -r1.16 *** bandages.py 6 Oct 2004 20:56:22 -0000 1.15 --- bandages.py 8 Oct 2004 11:05:53 -0000 1.16 *************** *** 202,212 **** def bandage_timer( char, args ): char.socket.deltag( 'using_bandages' ) - resurrect = args[0] success = args[1] baseid = args[3] - if resurrect == 1: # Corpse Target --- 202,213 ---- def bandage_timer( char, args ): + if not char.socket: + return # Character disconnected + char.socket.deltag( 'using_bandages' ) resurrect = args[0] success = args[1] baseid = args[3] if resurrect == 1: # Corpse Target |