tReplace empty flags by an empty space rather than dots - scoreboard - Interactive scoreboard for CTF-like games
 (HTM) git clone git://git.z3bra.org/scoreboard.git
 (DIR) Log
 (DIR) Files
 (DIR) Refs
       ---
 (DIR) commit 15e1172af7fd542e618f506acb3610b7e55d9be5
 (DIR) parent 642d95d180de63de3a718e134db1b06739cbbeb8
 (HTM) Author: Willy Goiffon <contact@z3bra.org>
       Date:   Tue,  1 Oct 2024 01:35:11 +0200
       
       Replace empty flags by an empty space rather than dots
       
       Diffstat:
         M player.go                           |       2 +-
       
       1 file changed, 1 insertion(+), 1 deletion(-)
       ---
 (DIR) diff --git a/player.go b/player.go
       t@@ -184,7 +184,7 @@ func (p *Player) FlagsStr() string {
                flaglist.WriteString("[::-][::d]")
                for _, r := range scoreboard.flag_ref {
                        if !hasflag(p.flags, r) {
       -                        flaglist.WriteString(fmt.Sprintf("[::d]%s ................................................................[::-]\n", r.badge))
       +                        flaglist.WriteString(fmt.Sprintf("[::d]%s %64s[::-]\n", r.badge, ""))
                        }
                }