Skip to content

Commit

Permalink
shift things around
Browse files Browse the repository at this point in the history
  • Loading branch information
nhanb committed Jun 20, 2023
1 parent 49ba0ee commit b842a01
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions tcl/main.tcl
Original file line number Diff line number Diff line change
Expand Up @@ -138,14 +138,13 @@ grid columnconfigure .c.buttons 3 -pad 15
proc initialize {b64icon webport countrycodes} {
seticon $b64icon
set ::mainstatus "Point your OBS browser source to http://localhost:${webport}"
readscoreboard
setupdiffcheck

.c.players.p1country configure -values $countrycodes
.c.players.p2country configure -values $countrycodes

readscoreboard
setupdiffcheck
readplayernames
setup_player_name_suggestion
setupplayersuggestion
}

proc seticon {b64data} {
Expand Down Expand Up @@ -197,7 +196,7 @@ proc readplayernames {} {
.c.players.p2name configure -values $playernames
}

proc setup_player_name_suggestion {} {
proc setupplayersuggestion {} {
proc update_suggestions {_ key _} {
if {!($key == "p1name" || $key == "p2name")} {
return
Expand Down

0 comments on commit b842a01

Please sign in to comment.