mirror of
https://github.com/mt-mods/xcompat.git
synced 2024-12-22 17:10:18 +01:00
fix https://github.com/mt-mods/xcompat/issues/28 - fuzzy match minetest game forks
This commit is contained in:
parent
bf15b0232f
commit
37a7fd6cc8
@ -27,4 +27,7 @@ end
|
||||
--for games that are similar/derviatives of other games
|
||||
if game_alias[gameid] then gameid = game_alias[gameid] end
|
||||
|
||||
--while minetest game derviates are not supported, we can still try to detect them
|
||||
if minetest.get_modpath("default") then gameid = "minetest" end
|
||||
|
||||
return gameid
|
Loading…
Reference in New Issue
Block a user