ctf_map_core: Make 'physics' an optional dependency
This commit is contained in:
parent
e09d79301c
commit
9974e3d509
2 changed files with 6 additions and 2 deletions
|
@ -1,3 +1,7 @@
|
||||||
|
if not minetest.get_modpath("physics") then
|
||||||
|
error("Cannot find mod 'physics'!")
|
||||||
|
end
|
||||||
|
|
||||||
----------
|
----------
|
||||||
-- TIME --
|
-- TIME --
|
||||||
----------
|
----------
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
name = ctf_map_core
|
name = ctf_map_core
|
||||||
depends = default, physics
|
depends = default
|
||||||
optional_depends = ctf, ctf_match, ctf_stats, ctf_treasure, stairs, wool, irc
|
optional_depends = ctf, ctf_match, ctf_stats, ctf_treasure, stairs, wool, irc, physics
|
||||||
|
|
Loading…
Reference in a new issue