Jump to content

Mod screen shows incorrect compatibility.


denev
  • DLC VERSION - IMPORTANT!: Vanilla - NO DLC, Reign of Giants, Shipwrecked, Hamlet Fixed

A mod that is compatible only with Hamlet is shown as compatible only with Shipwrecked.

modscreen.lua

		elseif not modinfo.dont_starve_compatible and not modinfo.reign_of_giants_compatible and modinfo.shipwrecked_compatible and not modinfo.hamlet_compatible then
			self.detailcompatibility:SetString(STRINGS.UI.MODSSCREEN.COMPATIBILITY_SW_ONLY)
		elseif not modinfo.dont_starve_compatible and not modinfo.reign_of_giants_compatible and not modinfo.shipwrecked_compatible and modinfo.hamlet_compatible then
			self.detailcompatibility:SetString(STRINGS.UI.MODSSCREEN.COMPATIBILITY_SW_ONLY)

This should be...

		elseif not modinfo.dont_starve_compatible and not modinfo.reign_of_giants_compatible and modinfo.shipwrecked_compatible and not modinfo.hamlet_compatible then
			self.detailcompatibility:SetString(STRINGS.UI.MODSSCREEN.COMPATIBILITY_SW_ONLY)
		elseif not modinfo.dont_starve_compatible and not modinfo.reign_of_giants_compatible and not modinfo.shipwrecked_compatible and modinfo.hamlet_compatible then
			self.detailcompatibility:SetString(STRINGS.UI.MODSSCREEN.COMPATIBILITY_HAMLET_ONLY)

The attached modsscreen.lua is my proposed modification.

bug.jpg

modsscreen.lua


Steps to Reproduce

Subscribe this mod: https://steamcommunity.com/sharedfiles/filedetails/?id=2279791108

And open Mods screen.

  • Like 1



User Feedback


A developer has marked this issue as fixed. This means that the issue has been addressed in the current development build and will likely be in the next update.


Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
  • Create New...