Remove ctf GUI

This commit is contained in:
rubenwardy 2019-08-28 17:16:51 +01:00
parent e53732f41e
commit 9f05af002e
11 changed files with 0 additions and 517 deletions

View file

@ -183,20 +183,6 @@ minetest.register_chatcommand("team", {
minetest.chat_send_player(name, "'"..param.."' is an invalid parameter to /team")
team_console_help(name)
end
if ctf.setting("gui") then
if (ctf and
ctf.players and
ctf.players[name] and
ctf.players[name].team) then
print("showing")
ctf.gui.show(name)
return true, "Showing the team window"
else
return false, "You're not part of a team!"
end
else
return false, "GUI is disabled!"
end
end
return false, "Nothing could be done"
end