Skip to content

Commit

Permalink
Automatic TGS DMAPI Update (#583)
Browse files Browse the repository at this point in the history
Co-authored-by: tgstation-server <[email protected]>
  • Loading branch information
Artea-Station-Bot and tgstation-server authored May 29, 2024
1 parent 82b3f78 commit 1baa8b8
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion code/modules/tgs/v3210/api.dm
Original file line number Diff line number Diff line change
Expand Up @@ -99,8 +99,11 @@
if(skip_compat_check && !fexists(SERVICE_INTERFACE_DLL))
TGS_ERROR_LOG("Service parameter present but no interface DLL detected. This is symptomatic of running a service less than version 3.1! Please upgrade.")
return

#if DM_VERSION >= 515
call_ext(SERVICE_INTERFACE_DLL, SERVICE_INTERFACE_FUNCTION)(instance_name, command) //trust no retval
#else
call(SERVICE_INTERFACE_DLL, SERVICE_INTERFACE_FUNCTION)(instance_name, command) //trust no retval
#endif
return TRUE

/datum/tgs_api/v3210/OnTopic(T)
Expand Down

0 comments on commit 1baa8b8

Please sign in to comment.