Skip to content

Commit f0c61de

Browse files
Merge branch 'libtier0_client' of https://github.com/SupinePandora43/GmodDotNet into libtier0_client
2 parents 4ad7b47 + 5dbdbcd commit f0c61de

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

gm_dotnet_managed/GmodNET/GameConsoleWriter.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,9 @@ public GameConsoleWriter(ILua lua)
2727
lua.GetField(-1, "IsDedicated");
2828
lua.MCall(0, 1);
2929
bool is_dedicated = lua.GetBool(-1);
30-
lua.Pop(1);
30+
lua.Pop(3);
3131

32-
if (is_dedicated is true)
32+
if (is_dedicated)
3333
{
3434
Msg = Msg_Tier0;
3535
}

0 commit comments

Comments
 (0)