Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
May 25, 2009, 10:08:48 PM (15 years ago)
Author:
bknecht
Message:

some fixes for pickupinventory and whole gui implementation

File:
1 edited

Legend:

Unmodified
Added
Removed
  • data/media/gui/scripts/gui.lua

    r5527 r5559  
    1515    setmetatable(newElement, self) -- connects new element with class
    1616    self.__index = self
    17     self:init()
    1817    return newElement
    1918end
     
    3635
    3736function P:load ()
    38     return self:new(winMgr:loadWindowLayout(self.layoutString), self.filename)
     37    self.window = winMgr:loadWindowLayout(self.layoutString)
     38    self:init()
     39    return self
    3940end
    4041
Note: See TracChangeset for help on using the changeset viewer.