Fix V4 API not activating

This commit is contained in:
Jordan Brown
2018-08-07 20:14:13 -04:00
parent 4166ecccae
commit 8900a2cb80
+4
View File
@@ -33,6 +33,10 @@
switch(major)
if(2)
return /datum/tgs_api/v3210
if(4)
switch(major)
if(0)
return /datum/tgs_api/v4
if(super != null && major != null && minor != null && patch != null && tgs_version > TgsMaximumAPIVersion())
TGS_ERROR_LOG("Detected unknown API version! Defaulting to latest. Update the DMAPI to fix this problem.")