mirror of
https://github.com/tgstation/tgstation-server.git
synced 2026-07-21 04:53:44 +01:00
Improve the BasicOperation DMAPI test
This commit is contained in:
@@ -1,11 +1,21 @@
|
||||
/world/New()
|
||||
TgsNew()
|
||||
|
||||
// Validate TGS_DMAPI_VERSION against DMAPI version used
|
||||
var/datum/tgs_version/active_version = world.TgsApiVersion()
|
||||
var/datum/tgs_version/dmapi_version = new /datum/tgs_version(TGS_DMAPI_VERSION)
|
||||
|
||||
if(!active_version.Equals(dmapi_version))
|
||||
del(src)
|
||||
|
||||
StartAsync()
|
||||
|
||||
/proc/StartAsync()
|
||||
set waitfor = FALSE
|
||||
sleep(100)
|
||||
TgsInitializationComplete()
|
||||
sleep(100)
|
||||
world.TgsEndProcess()
|
||||
|
||||
/world/Topic(T, Addr, Master, Keys)
|
||||
TGS_TOPIC
|
||||
|
||||
Reference in New Issue
Block a user