Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion tcl/main.tcl
Original file line number Diff line number Diff line change
Expand Up @@ -1020,7 +1020,7 @@ proc leaveSquare { square } {
proc pressSquare { square } {
global selectedSq highcolor

if { ![::fics::playerCanMove] } { return } ;# not player's turn
if {[info procs ::fics::playerCanMove] ne "" && ![::fics::playerCanMove]} { return } ;# not player's turn

# if training with calculations of var is on, just log the event
if { [winfo exists .calvarWin] } {
Expand Down
3 changes: 2 additions & 1 deletion tcl/misc.tcl
Original file line number Diff line number Diff line change
Expand Up @@ -321,7 +321,8 @@ proc progressWindow { title text {button ""} {command "progressBarCancel"} } {
set x [expr ([winfo screenwidth $w] - 400) / 2]
set y [expr ([winfo screenheight $w] - 40) / 2]
wm geometry $w +$x+$y
grab $w
update idletasks
catch { grab $w }
wm withdraw $w

progressBarSet $w.f.c 401 21
Expand Down