Fix interop

This commit is contained in:
Cyberboss
2017-10-30 17:04:08 -04:00
parent b440f49570
commit 3b098ddddc
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -30,7 +30,7 @@ SERVER_TOOLS_DEFINE_AND_SET_GLOBAL(server_tools_api_compatible, FALSE)
return
if(skip_compat_check && !fexists(SERVICE_INTERFACE_DLL))
CRASH("Service parameter present but no interface DLL detected. This is symptomatic of running a service less than version 3.1! Please upgrade.")
call(SERVICE_INTERFACE_DLL, SERVICE_INTERFACE_FUNCTION)("[params[SERVICE_INSTANCE_PARAM]] [command]") //trust no retval
call(SERVICE_INTERFACE_DLL, SERVICE_INTERFACE_FUNCTION)(params[SERVICE_INSTANCE_PARAM]], command) //trust no retval
return TRUE
/world/proc/ChatBroadcast(message)
+1 -1
View File
@@ -21,7 +21,7 @@ namespace TGServerService
string serviceCommsKey; //regenerated every DD restart
//range of supported api versions
const int AllowedMajorAPIVersion = 1;
const int AllowedMajorAPIVersion = 2;
Version GameAPIVersion;
const string SPInstanceName = "server_instance";