From a5e076a3b651b5fdf31d64c80f61dfde2568397e Mon Sep 17 00:00:00 2001 From: Teddi Date: Sun, 10 Nov 2024 01:26:27 +0000 Subject: [PATCH] formatting --- src/fwens.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/fwens.cpp b/src/fwens.cpp index 280924d..bcbbbd5 100644 --- a/src/fwens.cpp +++ b/src/fwens.cpp @@ -34,7 +34,6 @@ void Fwens::SetLuaInstance(GarrysMod::Lua::ILuaBase* ILuaBase) void Fwens::InitSteamAPIConnection() { - steamContext_active = steamContext.Init(); NotifyLuaSteamConnectionEvent(steamContext_active); } @@ -77,8 +76,8 @@ void Fwens::NotifyLuaSteamConnectionEvent(bool connected) LUA->PushSpecial(GarrysMod::Lua::SPECIAL_GLOB); LUA->GetField(-1, "ErrorNoHalt"); - LUA->Push(-3); - LUA->PushString("\n"); + LUA->Push(-3); + LUA->PushString("\n"); LUA->Call(2, 0); }