Fix crash due to regression in previous commit

This commit is contained in:
rubenwardy 2019-01-09 20:05:43 +00:00 committed by GitHub
parent 2bf00d37b6
commit bb67e026ff
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -82,6 +82,8 @@ local function search_for_maps()
return ctf_map.available_maps return ctf_map.available_maps
end end
search_for_maps()
minetest.register_chatcommand("maps_reload", { minetest.register_chatcommand("maps_reload", {
privs = { ctf_admin = true }, privs = { ctf_admin = true },
func = function(name, param) func = function(name, param)