mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-23 21:18:37 +01:00
Refactors CTF (#74342)
## About The Pull Request CTF code is rather infamous for being poor and hard to actually work with, I wanted to add a feature for a mapping march project but the code would not allow for it, so here we are refactoring the entire thing. ## Why It's Good For The Game Replaces some really bad code with slightly less bad code. Should make it much easier to add features onto CTF in the future. ## Changelog 🆑 refactor: CTF has been entirely refactored. fix: Respawn times for CTF now work. qol: CTF players are alerted during control point games when one team is half way to winning. admin: CTF instagib mode can now be toggled from the secrets panel. /🆑
This commit is contained in:
@@ -737,7 +737,7 @@
|
||||
set name = "Unload CTF"
|
||||
set desc = "Despawns the majority of CTF"
|
||||
|
||||
toggle_id_ctf(usr, unload=TRUE)
|
||||
toggle_id_ctf(usr, CTF_GHOST_CTF_GAME_ID, unload=TRUE)
|
||||
|
||||
/client/proc/run_empty_query(val as num)
|
||||
set category = "Debug"
|
||||
|
||||
Reference in New Issue
Block a user