Jump to content

Permanent mime after Wes transforms into Wonkey


Crestwave
  • Fixed

Previous report:

After Wes transforms into Wonkey, the character is permanently a mime—even when switching to other characters via the Celestial Portal. This is caused by two things. First, the mime tag is not removed when clearing the stored fields:

-- components/seamlessplayerswapper.lua, line 20
		-- Clear used stored fields.
		self.main_data.prefab = nil
		self.main_data.skin_base = nil

Second, SeamlessPlayerSwapper:PostTransformSetup() is always run on player spawn because main_data.prefab is set to nil when transforming back (as seen above). Thus, the self.inst.prefab ~= self.main_data.prefab check always succeeds.

-- components/seamlessplayerswapper.lua, line 98
function SeamlessPlayerSwapper:OnLoad(data)
	if data ~= nil then
        self.swap_data = data.swap_data or {}
        self.main_data = data.main_data or {}
	end

 	if self.main_data ~= nil and self.inst.prefab ~= self.main_data.prefab then
		self:PostTransformSetup()
	end
end


If you are experiencing this issue on a server you are an admin on, you can fix it with the following command:

ThePlayer.components.seamlessplayerswapper.main_data.mime = false

Steps to Reproduce

1. Be Wes

2. Turn into Wonkey

3. Remove the curse

4. Switch characters with the Celestial Portal

5. Inspect anything and note that you are still a mime

image.thumb.png.2900e33b89b16029cacaf6ebbb5f86c7.png

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