Skip to content

Commit

Permalink
Patch 1
Browse files Browse the repository at this point in the history
  • Loading branch information
unknown-gd committed Sep 9, 2023
1 parent bdbf3ae commit c1b311d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 10 deletions.
6 changes: 3 additions & 3 deletions lua/gpm/fs.lua
Original file line number Diff line number Diff line change
Expand Up @@ -227,9 +227,9 @@ local asyncSources = {
{
CanBeInstalled = asyncio ~= nil,
Functions = {
append = asyncio.Append,
write = asyncio.Write,
read = asyncio.Read
append = asyncio and asyncio.Append,
write = asyncio and asyncio.Write,
read = asyncio and asyncio.Read
}
},
{
Expand Down
9 changes: 2 additions & 7 deletions lua/gpm/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ Msg( [[
module( "gpm", package.seeall )

StartTime = SysTime()
VERSION = "1.52.0"
VERSION = "1.52.1"

if not Colors then
Realm = "unknown"
Expand Down Expand Up @@ -313,11 +313,6 @@ end
includeComponent "commands"
ClearCache()

if SERVER or MENU_DLL or game.IsDedicated() then
ImportFolder( "packages", nil, true )
else
util.NextTick( ImportFolder, "packages", nil, true )
end

ImportFolder( "packages", nil, true )
Logger:Info( "Time taken to start-up: %.4f sec.", SysTime() - StartTime )
hook.Run( "GPM - Initialized" )

0 comments on commit c1b311d

Please sign in to comment.