Jump to content
Korean Random
Sign in to follow this  
OlliN

Small tech tree tooltip bug

Recommended Posts

The 0.9.10 changes in xvm_tooltips/__init__.py

 

Scratch that, script error is in xvm.log only.

File "__init__", line 87, in VehicleParamsField_getValue
AttributeError: 'NoneType' object has no attribute 'get'
Edited by OlliN

Share this post


Link to post

Short link
Share on other sites

You mean the whole script?

 

attachicon.gif__init__.rar

i think i've corrected it =)

need to change:

        if itemTypeID == GUI_ITEM_TYPE.VEHICLE:
            for veh_id in uniqueIDs:
                carousel_tooltips_cache[veh_id] = None

to:

        if itemTypeID == GUI_ITEM_TYPE.VEHICLE:
            for veh_id in uniqueIDs:
                carousel_tooltips_cache[veh_id] = {}

thanks for testing =)

  • 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.

Guest
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.

Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...