Skip to content

Commit

Permalink
Patch5
Browse files Browse the repository at this point in the history
  • Loading branch information
unknown-gd committed Jun 3, 2023
1 parent ca2aba2 commit e7a1c85
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion lua/gpm/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ MsgN( [[

module( "gpm", package.seeall )

_VERSION = 013004
_VERSION = 013005

if not Colors then
Realm = "unknown"
Expand Down
4 changes: 2 additions & 2 deletions lua/gpm/package.lua
Original file line number Diff line number Diff line change
Expand Up @@ -263,11 +263,11 @@ if SERVER then
gpm.ArgAssert( fileName, 1, "string" )
end

if filePath ~= nil and not fs.IsFile( "lua/" .. filePath, "GAME" ) then
if fileName and fs.IsFile( "lua/" .. fileName, "GAME" ) then
filePath = paths.Fix( fileName )
end

if fs.IsFile( "lua/" .. filePath, "GAME" ) then
if filePath and fs.IsFile( "lua/" .. filePath, "GAME" ) then
return AddCSLuaFile( filePath )
end

Expand Down

0 comments on commit e7a1c85

Please sign in to comment.