Fix the DMAPI bug

This commit is contained in:
Jordan Brown
2018-12-09 20:50:21 -05:00
committed by GitHub
parent ab810e5e64
commit 71d02a256c
+2 -1
View File
@@ -31,7 +31,8 @@
if(0)
api_datum = /datum/tgs_api/v4
if(version.suite != null && version.major != null && version.minor != null && version.patch != null && version.deprefixed_parameter > TgsMaximumAPIVersion())
var/datum/tgs_version/max_api_version = TgsMaximumAPIVersion();
if(version.suite != null && version.major != null && version.minor != null && version.patch != null && version.deprefixed_parameter > max_api_version.deprefixed_parameter)
TGS_ERROR_LOG("Detected unknown API version! Defaulting to latest. Update the DMAPI to fix this problem.")
api_datum = /datum/tgs_api/latest