Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ''' 1. '''
- # Search @ class GiftBox.__init__
- self.tooltipGift.Show()
- # Add below
- if app.ENABLE_ATTENDANCE_SYSTEM:
- self.interface = None
- ''' 2. '''
- # Search
- def OpenMall(self):
- # Add above
- if app.ENABLE_ATTENDANCE_SYSTEM:
- def BindInterface(self, interface):
- self.interface = interface
- ''' 3. '''
- # Search
- def OpenMall(self):
- # Add below
- if app.ENABLE_ATTENDANCE_SYSTEM:
- if self.interface and player.CanAttend():
- self.interface.OpenAttendanceWindow()
- return
- ''' 4. '''
- # Search
- def HideGift(self):
- self.wndGiftBox.Hide()
- # Add below
- if app.ENABLE_ATTENDANCE_SYSTEM:
- def BindInterface(self, interface):
- if self.wndGiftBox:
- self.wndGiftBox.BindInterface(interface)
Advertisement
Add Comment
Please, Sign In to add comment