Jump to content

Clicking problem


Recommended Posts

  • Replies 2
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

			elif Type == player.SLOT_TYPE_UPGRADE_INVENTORY or\
				Type == player.SLOT_TYPE_BOOK_INVENTORY or\
				Type == player.SLOT_TYPE_STONE_INVENTORY:
				item.SelectItem(self.AttachedItemIndex)
				self.AttachedIconHandle = item.GetIconInstance()
	
				if not self.AttachedIconHandle:
					self.AttachedIconHandle = 0
					self.DeattachObject()
					return
	
				(width, height) = item.GetItemSize()

			elif Type == player.SLOT_TYPE_SKILL:
				skillGrade = player.GetSkillGrade(SlotNumber)
				self.AttachedIconHandle = skill.GetIconInstanceNew(self.AttachedItemIndex, skillGrade)

Problem was in mousemodel.py. 

Just i've had If Type == player.SLOT_TYPE_UPGRADE_INVENTORY I just change to elif and it works ;)

 

 

SOLVED #

Edited by Datheft15
Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

Announcements



×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.