Skip to content
This repository has been archived by the owner on Aug 29, 2019. It is now read-only.

Commit

Permalink
Fix bug on duplicated GUI settings, remove non-essential mods from CT…
Browse files Browse the repository at this point in the history
…F PvP Engine
  • Loading branch information
rubenwardy committed Jul 17, 2015
1 parent 9d15991 commit 17e7a2b
Show file tree
Hide file tree
Showing 9 changed files with 4 additions and 283 deletions.
4 changes: 4 additions & 0 deletions ctf/gui.lua
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,10 @@ function ctf.gui.register_tab(name, title, func)
title = title,
func = func
}

if ctf._defsettings and ctf._defsettings["gui.tab." .. name] == nil then
ctf._set("gui.tab." .. name, true)
end
end

function ctf.gui.show(name, tab, team)
Expand Down
1 change: 0 additions & 1 deletion ctf_flag/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ ctf.register_on_init(function()
ctf._set("flag.capture_take", false)
ctf._set("flag.names", true)
ctf._set("flag.protect_distance", 25)
ctf._set("gui.tab.flags", true)
ctf._set("gui.team.teleport_to_flag", true)
ctf._set("gui.team.teleport_to_spawn", false)
ctf._set("flag.capture_mode", "take")
Expand Down
2 changes: 0 additions & 2 deletions ctf_match/depends.txt

This file was deleted.

131 changes: 0 additions & 131 deletions ctf_match/init.lua

This file was deleted.

1 change: 0 additions & 1 deletion ctf_turret/depends.txt

This file was deleted.

147 changes: 0 additions & 147 deletions ctf_turret/init.lua

This file was deleted.

1 change: 0 additions & 1 deletion ctf_turret/sounds/Where to get sound.txt

This file was deleted.

Binary file removed ctf_turret/sounds/laser.ogg
Binary file not shown.
Binary file removed ctf_turret/textures/bullet.png
Binary file not shown.

0 comments on commit 17e7a2b

Please sign in to comment.