Use surface.playsound instead

This commit is contained in:
wrefgtzweve 2021-07-08 20:46:21 +02:00 committed by Brandon Sturgeon
parent 0cd224b2f2
commit f20a1944d0

View File

@ -340,7 +340,7 @@ local function populateBodyServerDown( body )
if apiState == CFCCrashAPI.SERVER_UP and not self.backUp then
self:setTextAndAlign( "It was down for" )
self.backUp = true
LocalPlayer():EmitSound( "garrysmod/save_load1.wav" )
surface.PlaySound( "garrysmod/save_load1.wav" )
end
end