Noita-Together / noita-together

Play alone together
MIT License
44 stars 13 forks source link

Fix other-player-wands UI not wrapping spell lines if 10th/20th slot empty #188

Open tehkab opened 2 weeks ago

tehkab commented 2 weeks ago

When viewing other players wands (via right-clicking their name in the UI & mousing over), sometimes the wand spells list fails to wrap to the next line. This was because the code reset the draw X & advanced the draw Y on the 10(n)th spell slot, but would skip this check if the 10(n)th slot had no spell in it.