Small fix
This commit is contained in:
parent
5b7cb9b642
commit
6336232fde
@ -2,7 +2,9 @@ if (game:issingleplayer()) then
|
||||
return
|
||||
end
|
||||
|
||||
if (Engine.InFrontend()) then
|
||||
require("shaderdialog")
|
||||
end
|
||||
|
||||
-- defined in mp_hud/hudutils.lua
|
||||
function GetGameModeName()
|
||||
|
@ -1,4 +1,3 @@
|
||||
local originaldialog = LUI.ShaderCacheDialog.new
|
||||
LUI.MenuBuilder.registerPopupType("ShaderCacheDialog_original", LUI.ShaderCacheDialog.new)
|
||||
|
||||
game:addlocalizedstring("PLATFORM_SHADER_PRECACHE_ASK", "Would you like to populate the shader cache? It may cause crashes with certain GPUs (e.g. RTX cards) but will improve performance if successful.")
|
||||
|
Loading…
Reference in New Issue
Block a user