ctf_map_core: Make 'physics' an optional dependency

This commit is contained in:
ANAND 2019-12-15 15:53:30 +05:30
parent e09d79301c
commit 9974e3d509
No known key found for this signature in database
GPG key ID: 3AD8A3C4A51AAB97
2 changed files with 6 additions and 2 deletions

View file

@ -1,3 +1,7 @@
if not minetest.get_modpath("physics") then
error("Cannot find mod 'physics'!")
end
----------
-- TIME --
----------

View file

@ -1,3 +1,3 @@
name = ctf_map_core
depends = default, physics
optional_depends = ctf, ctf_match, ctf_stats, ctf_treasure, stairs, wool, irc
depends = default
optional_depends = ctf, ctf_match, ctf_stats, ctf_treasure, stairs, wool, irc, physics