Skip to content

Commit c8c9daf

Browse files
committed
chore(plugins): Removed whitespaces
1 parent 58e7cdf commit c8c9daf

File tree

2 files changed

+2
-6
lines changed

2 files changed

+2
-6
lines changed

src/components/Plugins/src/language/lua/server.cpp

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,8 @@ void SetupLuaServer(luacpp::LuaState *state, Plugin *plugin)
2929
{
3030
if(!scripting_Server_IsMapValid(map)) return;
3131
scripting_Server_ExecuteCommand(string_format("map %s", map).c_str()); })
32-
33-
.DefMember("IsPistolRound", [](LuaServerClass *base) -> bool
34-
{ return scripting_Server_IsPistolRound(); });
32+
.DefMember("IsPistolRound", [](LuaServerClass *base) -> bool
33+
{ return scripting_Server_IsPistolRound(); });
3534

3635
state->DoString("server = Server()");
3736
}

src/components/Plugins/src/scripting/Server.cpp

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@ SMM_API const char *scripting_Server_GetMapName()
2626
return res;
2727
}
2828

29-
3029
SMM_API bool scripting_Server_IsPistolRound()
3130
{
3231
if (g_pGameRules == nullptr)
@@ -35,8 +34,6 @@ SMM_API bool scripting_Server_IsPistolRound()
3534
return (g_pGameRules->m_totalRoundsPlayed() == 0 || (g_pGameRules->m_bSwitchingTeamsAtRoundReset() && g_pGameRules->m_nOvertimePlaying() == 0) || g_pGameRules->m_bGameRestart());
3635
}
3736

38-
39-
4037
SMM_API bool scripting_Server_IsMapValid(const char *map)
4138
{
4239
if (map == nullptr)

0 commit comments

Comments
 (0)