Skip to content

Commit

Permalink
Woops
Browse files Browse the repository at this point in the history
  • Loading branch information
RaphaelIT7 committed Apr 5, 2024
1 parent 7373842 commit 428767e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/lua_utils.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ void PushValue(GarrysMod::Lua::ILuaBase* LUA, ILuaValue* value)
if (ThreadInMainThread()) // We cannot push a File from a our module to GMod.
{
LUA->PushNil();
return;
break;
}

LUA_File* file = (LUA_File*)value->otherstuff;
Expand Down

0 comments on commit 428767e

Please sign in to comment.