diff options
author | Amos <48657826+Mauler125@users.noreply.github.com> | 2022-03-04 15:31:50 +0100 |
---|---|---|
committer | Amos <48657826+Mauler125@users.noreply.github.com> | 2022-03-04 15:31:50 +0100 |
commit | a5514e298b6183a11cebfe8ef70daabc091f8940 (patch) | |
tree | f3e07be8ff17c9c730d72caef6747dea927bad53 /NorthstarDedicatedTest | |
parent | 4cab6d7e499f3c148e21b4ae52c114d3e7f0d0d1 (diff) | |
download | NorthstarLauncher-a5514e298b6183a11cebfe8ef70daabc091f8940.tar.gz NorthstarLauncher-a5514e298b6183a11cebfe8ef70daabc091f8940.zip |
Light cleanup
Diffstat (limited to 'NorthstarDedicatedTest')
-rw-r--r-- | NorthstarDedicatedTest/dedicated.cpp | 2 | ||||
-rw-r--r-- | NorthstarDedicatedTest/squirrel.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
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 <ScriptContext context> 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()) |