diff options
author | BobTheBob <32057864+BobTheBob9@users.noreply.github.com> | 2021-07-17 22:33:00 +0100 |
---|---|---|
committer | BobTheBob <32057864+BobTheBob9@users.noreply.github.com> | 2021-07-17 22:33:00 +0100 |
commit | ca5db71e8215a6c5660fe03088a6d7349f55f817 (patch) | |
tree | 534b79d2599475b1da3edb4f232223d9e32d3174 /NorthstarDedicatedTest/context.cpp | |
parent | 51d3d4a40c8579e29571bc80d35bbb62fa50661b (diff) | |
download | NorthstarLauncher-ca5db71e8215a6c5660fe03088a6d7349f55f817.tar.gz NorthstarLauncher-ca5db71e8215a6c5660fe03088a6d7349f55f817.zip |
add support for custom convars and concommands
Diffstat (limited to 'NorthstarDedicatedTest/context.cpp')
-rw-r--r-- | NorthstarDedicatedTest/context.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/NorthstarDedicatedTest/context.cpp b/NorthstarDedicatedTest/context.cpp index 6cd9d885..f3c0edc6 100644 --- a/NorthstarDedicatedTest/context.cpp +++ b/NorthstarDedicatedTest/context.cpp @@ -3,8 +3,6 @@ const char* GetContextName(Context context) { - if (context == NONE) - return ""; if (context == CLIENT) return "CLIENT"; else if (context == SERVER) @@ -12,5 +10,5 @@ const char* GetContextName(Context context) else if (context == UI) return "UI"; - return nullptr; + return ""; }
\ No newline at end of file |