From a5514e298b6183a11cebfe8ef70daabc091f8940 Mon Sep 17 00:00:00 2001 From: Amos <48657826+Mauler125@users.noreply.github.com> Date: Fri, 4 Mar 2022 15:31:50 +0100 Subject: Light cleanup --- NorthstarDedicatedTest/dedicated.cpp | 2 +- NorthstarDedicatedTest/squirrel.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'NorthstarDedicatedTest') diff --git a/NorthstarDedicatedTest/dedicated.cpp b/NorthstarDedicatedTest/dedicated.cpp index 4add29c7..920484da 100644 --- a/NorthstarDedicatedTest/dedicated.cpp +++ b/NorthstarDedicatedTest/dedicated.cpp @@ -5,7 +5,7 @@ #include "serverauthentication.h" #include "masterserver.h" #include "host_state.h" -#include "sv_rcon.h" + bool IsDedicated() { // return CommandLine()->CheckParm("-dedicated"); diff --git a/NorthstarDedicatedTest/squirrel.cpp b/NorthstarDedicatedTest/squirrel.cpp index 750ec54a..bb281834 100644 --- a/NorthstarDedicatedTest/squirrel.cpp +++ b/NorthstarDedicatedTest/squirrel.cpp @@ -295,7 +295,7 @@ template void ScriptCompileErrorHook(void* sqvm, const c realContext = ScriptContext::UI; snprintf( - buffer, sizeof(buffer), "%s SCRIPT COMPILE ERROR %s\n%s line [%d] column [%d]", GetContextName(realContext), error, file, line, + buffer, sizeof(buffer), "%s SCRIPT COMPILE ERROR: %s\n%s line [%d] column [%d]", GetContextName(realContext), error, file, line, column); spdlog::error("{}", buffer); if (IsDedicated()) -- cgit v1.2.3