From df5fd9555ca61c26710e6f5406969a3a06746bbe Mon Sep 17 00:00:00 2001 From: Mloc-Argent Date: Wed, 1 Jan 2014 19:10:55 +0000 Subject: [PATCH] Fix for the roundstart hook "runtime". Signed-off-by: Mloc-Argent --- baystation12.dme | 1 + code/controllers/hooks-defs.dm | 17 +++++++++++++++++ 2 files changed, 18 insertions(+) create mode 100644 code/controllers/hooks-defs.dm diff --git a/baystation12.dme b/baystation12.dme index ce8c26ee094..773f55ba42b 100644 --- a/baystation12.dme +++ b/baystation12.dme @@ -78,6 +78,7 @@ #include "code\controllers\autotransfer.dm" #include "code\controllers\configuration.dm" #include "code\controllers\failsafe.dm" +#include "code\controllers\hooks-defs.dm" #include "code\controllers\hooks.dm" #include "code\controllers\lighting_controller.dm" #include "code\controllers\master_controller.dm" diff --git a/code/controllers/hooks-defs.dm b/code/controllers/hooks-defs.dm new file mode 100644 index 00000000000..cb51229c9fb --- /dev/null +++ b/code/controllers/hooks-defs.dm @@ -0,0 +1,17 @@ +/** + * Startup hook. + * Called in world.dm when the server starts. + */ +/hook/startup + +/** + * Roundstart hook. + * Called in gameticker.dm when a round starts. + */ +/hook/roundstart + +/** + * Roundend hook. + * Called in gameticker.dm when a round ends. + */ +/hook/roundend