Jump to content

Unreachable chunk in wanda.lua


_zwb
  • Fixed
54	if inst.queued_skinmode_task ~= nil then
55		inst.updateskinmodetask:Cancel()
56		inst.updateskinmodetask = nil
57	end

inst.queued_skinmode_task is only referenced once in line 54, it will always be nil.


Steps to Reproduce

The above




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.
50 minutes ago, JesseB_Klei said:

Changed Status to Fixed

How is it fixed exactly? Removed? Or a proper skin mode update queue?

Share this comment


Link to comment
Share on other sites

51 minutes ago, _zwb said:

How is it fixed exactly? Removed? Or a proper skin mode update queue?

The task check should be this for this particular bit of code. Are you saying that there is more to this problem than this surface level change?

	if inst.updateskinmodetask ~= nil then
		inst.updateskinmodetask:Cancel()
		inst.updateskinmodetask = nil
	end
  • Like 1

Share this comment


Link to comment
Share on other sites



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