mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-25 14:08:31 +01:00
Capture the flag quality of life changes
- Spawn traps no longer fade when crossed - The "reset" location of CTF flags is visible to observers - Baricades regenerate at the start of every round, and when destroyed leave observer visible ghost barricades - At the start of every round, the arena is cleared of debris - The blue team shoot blue lasers, the red team shoot red lasers
This commit is contained in:
@@ -568,11 +568,9 @@
|
||||
if("ctfbutton")
|
||||
if(!check_rights(R_ADMIN))
|
||||
return
|
||||
var/ctf_enabled = 0
|
||||
var/ctf_enabled = FALSE
|
||||
for(var/obj/machinery/capture_the_flag/CTF in machines)
|
||||
ctf_enabled = !CTF.ctf_enabled
|
||||
CTF.ctf_enabled = !CTF.ctf_enabled
|
||||
CTF.TellGhost()
|
||||
ctf_enabled = CTF.toggle_ctf()
|
||||
message_admins("[key_name_admin(usr)] has [ctf_enabled? "enabled" : "disabled"] CTF!")
|
||||
notify_ghosts("CTF has been [ctf_enabled? "enabled" : "disabled"]!",'sound/effects/ghost2.ogg')
|
||||
if("masspurrbation")
|
||||
|
||||
Reference in New Issue
Block a user