Update flood_shopmenu_tools.lua

bug
This commit is contained in:
[TW]Rain_Bob 2024-07-20 16:08:49 +08:00 committed by GitHub
parent 18288e3350
commit 2531352014
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -91,9 +91,6 @@ function PANEL:CreateCP( button )
for k, v in pairs( kids ) do
v:SetVisible( false )
end
if ( self.LastSelected ) then
self.LastSelected:SetSelected( false )
end
button:SetSelected( true )
self.LastSelected = button