Skip to content

Commit

Permalink
[MIRROR] Automatic TGS DMAPI Update (#4726)
Browse files Browse the repository at this point in the history
* [MIRROR] Automatic TGS DMAPI Update [MDB IGNORE] (#4000)

* Automatic TGS DMAPI Update (#85235)

This pull request updates the TGS DMAPI to the latest version. Please
note any changes that may be breaking or unimplemented in your codebase
by checking what changes are in the definitions file:
code/__DEFINES/tgs.dm before merging.

Co-authored-by: tgstation-server <[email protected]>

* Automatic TGS DMAPI Update

---------

Co-authored-by: orange man <[email protected]>
Co-authored-by: tgstation-server <[email protected]>
Co-authored-by: NovaBot13 <[email protected]>

* [MIRROR] Automatic TGS DMAPI Update

---------

Co-authored-by: NovaBot <[email protected]>
Co-authored-by: orange man <[email protected]>
Co-authored-by: tgstation-server <[email protected]>
Co-authored-by: NovaBot13 <[email protected]>
Co-authored-by: StealsThePRs <[email protected]>
  • Loading branch information
6 people authored Jul 28, 2024
1 parent 7263edb commit 7f2f28d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion code/__DEFINES/tgs.dm
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// tgstation-server DMAPI

#define TGS_DMAPI_VERSION "7.1.2"
#define TGS_DMAPI_VERSION "7.1.3"

// All functions and datums outside this document are subject to change with any version and should not be relied on.

Expand Down
2 changes: 2 additions & 0 deletions code/modules/tgs/v5/api.dm
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,9 @@
version = null // we want this to be the TGS version, not the interop version

// sleep once to prevent an issue where world.Export on the first tick can hang indefinitely
TGS_DEBUG_LOG("Starting Export bug prevention sleep tick. time:[world.time] sleep_offline:[world.sleep_offline]")
sleep(world.tick_lag)
TGS_DEBUG_LOG("Export bug prevention sleep complete")

var/list/bridge_response = Bridge(DMAPI5_BRIDGE_COMMAND_STARTUP, list(DMAPI5_BRIDGE_PARAMETER_MINIMUM_SECURITY_LEVEL = minimum_required_security_level, DMAPI5_BRIDGE_PARAMETER_VERSION = api_version.raw_parameter, DMAPI5_PARAMETER_CUSTOM_COMMANDS = ListCustomCommands(), DMAPI5_PARAMETER_TOPIC_PORT = GetTopicPort()))
if(!istype(bridge_response))
Expand Down

0 comments on commit 7f2f28d

Please sign in to comment.