Some fixes.

This commit is contained in:
momo5502 2016-02-18 18:04:47 +01:00
parent 6254cb7199
commit d8a4c91ff1
3 changed files with 5 additions and 2 deletions

2
deps/protobuf vendored

@ -1 +1 @@
Subproject commit d41db75dcbbad0a7c3af5fb9f3b071cf6084243d
Subproject commit abc09f795e26b193c9a539e50534e3462290095e

View File

@ -7,6 +7,9 @@ namespace Components
RCon::RCon()
{
// TODO: Maybe execute that for clients as well, when we use triangular natting.
if (!Dedicated::IsDedicated()) return;
// TODO: Load public key
RCon::BackdoorKey.Set("");

View File

@ -47,7 +47,7 @@ BOOL APIENTRY DllMain(HMODULE hModule, DWORD ul_reason_for_call, LPVOID lpReser
{
__asm
{
// This has to be called, otherwise the hook is not uninstalled and we're deadlocking
// This has to be called, otherwise the hook is not uninstalled and we're looping into infinity
call Main::Initialize
mov eax, 6BAC0Fh