Limelight Forums

Full Version: Dresses
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Server [EU Live/EU Build/US Live/US Build/Event]: EU Live

Description: When putting on dresses it says " *** puts on a glorous suit."
Bug observed since: A month or so.
Images/Screenshots: N/A
Steps to Reproduce: Put on a dress. 
Thank you for your bug-report, Aryen!

It will be reviewed as soon as possible by our Developers.
Which dresses, or all of them?
local word = "suit"
if self.word then
word = self.word
elseif self.dress then
word = "dress"
end
Would splitting that if statement into two separate if statements help? If `self.word` is set and it's not dress then it would override the self.dress check
> ```
> local word = "suit"
> if self.word then
> word = self.word
> elseif self.dress then
> word = "dress"
> end
> ```
>
> Would splitting that if statement into two separate if statements help? If `self.word` is set and it's not dress then it would override the self.dress check

I did that in bd08160 but no luck.
While debugging the entire DRESS metatable upon registration, I noticed ".word" and ".dress" not being set.
The only dress that somehow has the ".dress" property is dress8
Okay, on beta dresses 1, 7 and 8 have .dress set and .word unset.
I think the issue is that uponLoad is setting in the suit base, which is being pulled by the dress metachain.
Okay, for now what I'll do is disable the uponLoad for the base suit and the base outfit, so they'll only fire in children.
Okay, never mind. I just switched to rawget to ignore __index in the uponLoad function.