From d9d90b38f016ddae77c114da5182c20a02a1a9e5 Mon Sep 17 00:00:00 2001 From: Krausus Date: Sun, 9 Aug 2015 09:36:52 -0400 Subject: [PATCH] Adds version check --- code/_compile_options.dm | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/code/_compile_options.dm b/code/_compile_options.dm index 4d9f7f48a3d..84f3b3048c9 100644 --- a/code/_compile_options.dm +++ b/code/_compile_options.dm @@ -10,4 +10,11 @@ #define MAX_BOOK_MESSAGE_LEN 9216 #define MAX_NAME_LEN 26 +// Version check, terminates compilation if someone is using a version of BYOND that's too old +#if DM_VERSION < 508 +#error OUTDATED VERSION ERROR - \ +Due to BYOND features used in this codebase, you must update to version 508 or later to compile. \ +This may require updating to a beta release. +#endif + var/global/list/processing_objects = list() //This has to be initialized BEFORE world \ No newline at end of file