Skip to content
This repository was archived by the owner on May 22, 2025. It is now read-only.

Commit 9cd6638

Browse files
Update __byond_version_compat.dm
1 parent 2d48bff commit 9cd6638

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

code/__byond_version_compat.dm

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,14 @@
99
#error You need version 515.1630 or higher
1010
#endif
1111

12+
//If you update these values, update the message in the #error
13+
#define MAX_BYOND_MAJOR 516
14+
#define MAX_BYOND_MINOR 1658
15+
#if ((DM_VERSION > MAX_BYOND_MAJOR) || (DM_BUILD > MAX_BYOND_MINOR)) && !defined(SPACEMAN_DMM)
16+
#error Your version of BYOND is too new to compile this project.
17+
#error Download version 515.1647 at www.byond.com/download/build/515/515.1642_byond.exe
18+
#endif
19+
1220
// 515 split call for external libraries into call_ext
1321
#if DM_VERSION < 515
1422
#define LIBCALL call

0 commit comments

Comments
 (0)