Jump to content
Korean Random

[ / 8.2.0_29] showPromoPremVehicle not working properly

Recommended Posts

Promotank isn't displayed no matter what is set in hangar.xc/hangar/showPromoPremVehicle (true or false)



# hide premium vehicle on the background in the hangar
@overrideMethod(HeroTank, 'recreateVehicle')
def recreateVehicle(base, self, typeDescriptor=None, state=ModelStates.UNDAMAGED, callback=None):
    if not config.get('hangar/showPromoPremVehicle', True):
    base(self, typeDescriptor=None, state=ModelStates.UNDAMAGED, callback=None)


Last line should be:

    base(self, typeDescriptor, state, callback)



Edited by goofy67
  • Upvote 1

Share this post

Link to post

Short link
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    No registered users viewing this page.

  • Create New...