Changeset 466


Ignore:
Timestamp:
01/12/10 08:38:46 (10 years ago)
Author:
b0rland_parpg
Message:

Ticket #232: patch by b0rland
Fixed a minor bug -- the value was returned wrongly

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/game/scripts/gui/hud.py

    r451 r466  
    8888        ready4 = self.hud.findChild(name='hudReady4') 
    8989        actions_scroll_area = self.hud.findChild(name='actionsScrollArea') 
     90 
    9091        if (screen_width <=800) : 
    9192            gap = 0 
    9293        else : 
    9394            gap = 40 
    94         # annoying code that is both essential and boring to enter 
    9595        ready1.position = (160+gap, 7) 
    9696        ready2.position = (220+gap, 7) 
     
    595595        self.box_container.container_gui.mapEvents(events) 
    596596        self.box_container.showContainer() 
    597         return box_container 
     597        return self.box_container 
    598598 
    599599    def hideContainer(self): 
Note: See TracChangeset for help on using the changeset viewer.