Jump to content

[General] - Modding API - duplicate tooltips


Recommended Posts

Bug Submission:

Category: General
Platform: PC
Issue Title: Modding API - duplicate tooltips
Issue Description: Tooltips added in commondefs.lua file (following procedure in modding notes form Example API Mod) are duplicated.

Steps to Reproduce: Grab Programs Extended mod, use Power Uplink on mainframe device (in sight of an agent, it won't update otherwise) and inspect it with mouse cursor.

 

post-263712-0-85769800-1447677757_thumb.

Found the cause of the issue. Mod Loader does not remove custom tooltips (added on load, modApi:addTooltipDef() function in modinit.lua) when reseting/unloading mods, causing tooltips to stack up every time mods are reloaded.

That would do it. Thanks for the investigating wodzu_93. I'll make a change in an upcoming patch.

That would do it. Thanks for the investigating wodzu_93. I'll make a change in an upcoming patch.

Was this double intended or is it just a funny coincidence, since it sometimes happen that a reply got double posted

Was this double intended or is it just a funny coincidence, since it sometimes happen that a reply got double posted

 

I'm going with intended.  I've seen a few other replies by Jason to bug reports that have that same sense of understated humor.  :)

Archived

This topic is now archived and is closed to further replies.

Please be aware that the content of this thread may be outdated and no longer applicable.

×
  • Create New...