Update of /cvsroot/wpdev/xmlscripts/scripts/commands
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv12693/commands
Modified Files:
invis.py
Log Message:
remove before setting invis stuff.
Index: invis.py
===================================================================
RCS file: /cvsroot/wpdev/xmlscripts/scripts/commands/invis.py,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** invis.py 13 Aug 2004 04:31:27 -0000 1.2
--- invis.py 13 Aug 2004 17:56:49 -0000 1.3
***************
*** 19,24 ****
def commandInvis( socket, cmd, args ):
char = socket.player
- char.invisible = booleantoggle( char.invisible )
char.removefromview()
char.update()
socket.sysmessage( "Invisible is now '%i'." % char.invisible )
--- 19,24 ----
def commandInvis( socket, cmd, args ):
char = socket.player
char.removefromview()
+ char.invisible = booleantoggle( char.invisible )
char.update()
socket.sysmessage( "Invisible is now '%i'." % char.invisible )
|