mirror of
https://github.com/tgstation/tgstation-server.git
synced 2026-08-27 15:07:03 +01:00
Fix V4 API not activating
This commit is contained in:
@@ -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.")
|
||||
|
||||
Reference in New Issue
Block a user