Skip to content

Commit

Permalink
Menu Support for util.IsBinaryModuleInstalled (#1927)
Browse files Browse the repository at this point in the history
  • Loading branch information
unknown-gd authored Apr 17, 2023
1 parent cdbc94b commit bb6b79f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion garrysmod/lua/includes/extensions/util.lua
Original file line number Diff line number Diff line change
Expand Up @@ -376,7 +376,7 @@ local suffix = ({"osx64","osx","linux64","linux","win64","win32"})[
+ ( jit.arch == "x86" && 1 || 0 )
+ 1
]
local fmt = "lua/bin/gm" .. (CLIENT && "cl" || "sv") .. "_%s_%s.dll"
local fmt = "lua/bin/gm" .. ((CLIENT && !MENU_DLL) && "cl" || "sv") .. "_%s_%s.dll"
function util.IsBinaryModuleInstalled( name )
if ( !isstring( name ) ) then
error( "bad argument #1 to 'IsBinaryModuleInstalled' (string expected, got " .. type( name ) .. ")" )
Expand Down

0 comments on commit bb6b79f

Please sign in to comment.