Jump to content

Wendy will crash the game if Gorge game mode is on


Cunning fox
  • Fixed

Line 88 in wendy.lua

if TheNet:GetServerGameMode() == "quagmire" then
          inst:AddTag("quagmire_grillmaster")
          inst:AddTag("quagmire_shopper")
else
          inst:AddComponent("pethealthbar")
end

Should be changed to something like

local gamemode = TheNet:GetServerGameMode()
if gamemode == "quagmire" or  then
          inst:AddTag("quagmire_grillmaster")
          inst:AddTag("quagmire_shopper")
elseif gamemode ~= "lavaarena" then
          inst:AddComponent("pethealthbar")
 end

And function OnClientPetSkinChanged (line 61) should check for this component
 

local function OnClientPetSkinChanged(inst)
	if inst.HUD ~= nil and inst.HUD.wendyflowerover ~= nil and inst.components.pethealthbar then
		local skinname = TheInventory:LookupSkinname( inst.components.pethealthbar._petskin:value() )
		inst.HUD.wendyflowerover:SetSkin( skinname )
	end
end

 


Steps to Reproduce
1. Enable the Gorge game mode 2. Pick Wendy
  • Thanks 2



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