diff orpg/player_list.py @ 26:65c5cb9be59c traipse_dev

This patch fixes the known issue with users not being able to set their name in the settings menu. This version also cleans up the themes settings in main.py and preps for Ornery Orc. Some cleaning was done with orpg_settings.py also
author sirebral
date Fri, 31 Jul 2009 00:44:10 -0500
parents 69149263026d
children f3d8101211c4
line wrap: on
line diff
--- a/orpg/player_list.py	Thu Jul 30 00:32:05 2009 -0500
+++ b/orpg/player_list.py	Fri Jul 31 00:44:10 2009 -0500
@@ -488,7 +488,7 @@
     #
     def update_player(self,player):
         i = self.FindItemData(-1,int(player[2]))  #  finds the right list box index
-        self.SetStringItem(i,1,player[0])
+        self.SetStringItem(i,1,self.strip_html(player))
         self.SetStringItem(i,2,player[3])
         item = self.GetItem(i)
         self.colorize_player_list()