Skip to content

Commit f287762

Browse files
committed
fix asset browser sound playback for non-pac users
1 parent b3bd261 commit f287762

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lua/pac3/editor/client/asset_browser.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -942,7 +942,7 @@ function pace.AssetBrowser(callback, browse_types_str, part_key)
942942

943943
play:SetImage("icon16/control_stop.png")
944944

945-
local snd = CreateSound(pac.LocalPlayer, sound)
945+
local snd = CreateSound(LocalPlayer(), sound)
946946
snd:Play()
947947
pace.asset_browser_snd = snd
948948

0 commit comments

Comments
 (0)