Jump to content

Refresh coins in inventory


Recommended Posts

  • Premium
def OnUpdate(self):
		if app.ENABLE_COINS_INVENTORY:
            self.wndCoins.SetText(localeInfo.NumberToSecondaryCoinString(constInfo.Coins))	

	def RefreshStatus(self):
		money = player.GetElk()
		self.wndMoney.SetText(localeInfo.NumberToMoneyString(money))
		
		if app.ENABLE_COINS_INVENTORY:
            self.wndCoins.SetText(localeInfo.NumberToSecondaryCoinString(constInfo.Coins))

 

  • Love 1
Link to comment
Share on other sites

  • 4 weeks later...

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.