Skip to content

Commit 570275d

Browse files
committed
Patched race condition caused from incorrect checking of playerGuis within more intensive place files
1 parent 32d3a05 commit 570275d

3 files changed

Lines changed: 5 additions & 3 deletions

File tree

‎src/Utility.lua‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,9 +178,11 @@ function Utility.clipOutside(icon, instance)
178178
valueInstanceCopy.Parent = instance
179179

180180
local screenGui
181+
local Icon = require(icon.iconModule)
182+
local container = Icon.container
181183
local function updateScreenGui()
182184
local originalScreenGui = originalParent:FindFirstAncestorWhichIsA("ScreenGui")
183-
screenGui = if string.match(originalScreenGui.Name, "Clipped") then originalScreenGui else originalScreenGui.Parent[originalScreenGui.Name.."Clipped"]
185+
screenGui = if string.match(originalScreenGui.Name, "Clipped") then originalScreenGui else container[originalScreenGui.Name.."Clipped"]
184186
instance.AnchorPoint = Vector2.new(0, 0)
185187
instance.Parent = Utility.getClippedContainer(screenGui)
186188
end

‎src/VERSION.lua‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ local VERSION = {}
55

66

77
-- SHARED
8-
VERSION.appVersion = "v3.1.0"
8+
VERSION.appVersion = "v3.2.0"
99
VERSION.latestVersion = nil :: string?
1010

1111

‎wally.toml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
name = "1foreverhd/topbarplus"
33
description = "Construct dynamic and intuitive topbar icons. Enhance the appearance and behaviour of these icons with features such as themes, dropdowns and menus."
44
license = "MPL2"
5-
version = "3.1.0"
5+
version = "3.2.0"
66
registry = "https://github.com/UpliftGames/wally-index"
77
realm = "shared"
88
exclude = [

0 commit comments

Comments
 (0)