Skip to content

Commit

Permalink
WHOOPSIE DAISY (fix MetaStation *ALWAYS* loading in CI) (Monkestation…
Browse files Browse the repository at this point in the history
  • Loading branch information
Absolucy authored Jan 29, 2025
1 parent 8b5a753 commit a1dbcdb
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion code/__DEFINES/maps.dm
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,13 @@ Always compile, always use that verb, and always make sure that it works for wha
#define MAP_MAXZ 6

/// Path for the next_map.json file, if someone, for some messed up reason, wants to change it.
#define PATH_TO_NEXT_MAP_JSON (world.GetConfig("env", "AUXTOOLS_DEBUG_DLL") ? "data/next_map.json" : "data/next_map.[world.port].json") // monkestation edit: messed up cat here, i changed it (added world.port to it if there's no debugger attached)
// monkestation start: messed up cat here, i changed it (added world.port to it if there's no debugger attached)
#ifdef UNIT_TESTS
#define PATH_TO_NEXT_MAP_JSON "data/next_map.json"
#else
#define PATH_TO_NEXT_MAP_JSON (world.GetConfig("env", "AUXTOOLS_DEBUG_DLL") ? "data/next_map.json" : "data/next_map.[world.port].json")
#endif
// monkestation end

/// List of directories we can load map .json files from
#define MAP_DIRECTORY_MAPS "_maps"
Expand Down

0 comments on commit a1dbcdb

Please sign in to comment.