diff --git a/.gitignore b/.gitignore index af769434e2..2e9c7f68b7 100644 --- a/.gitignore +++ b/.gitignore @@ -10,6 +10,8 @@ vchat.db* *.backup *.before *.pyc +*.pid +data data/ cfg/ diff --git a/code/modules/tgs/v5/api_vgs.dm b/code/modules/tgs/v5/api_vgs.dm index aa43a1655f..fd94e964d1 100644 --- a/code/modules/tgs/v5/api_vgs.dm +++ b/code/modules/tgs/v5/api_vgs.dm @@ -36,6 +36,20 @@ GLOBAL_DATUM(vgs, /datum/tgs_api) if(result != TGS_UNIMPLEMENTED) return result +/world/TgsReboot() + var/datum/tgs_api/api = GLOB.vgs + if(api) + api.OnReboot() + else + return ..() + +/world/TgsInitializationComplete() + var/datum/tgs_api/api = GLOB.vgs + if(api) + api.OnInitializationComplete() + else + return ..() + /world/proc/VgsAddMemberRole(chat_user_id) var/datum/tgs_api/v5/vgs1/api = GLOB.vgs if(api)