Bugfix: the goban table declaration was wrong before. this (among other things) prevented saving move to the database.
This commit is contained in:
parent
87a9d0e6fc
commit
1e1ffa362e
2 changed files with 7 additions and 10 deletions
|
@ -51,9 +51,7 @@ class PlayGame:
|
|||
sessionid = cpg.request.sessionMap["_sessionId"]
|
||||
if myuser.sessionid == sessionid:
|
||||
if coord != None:
|
||||
ret = self.process_form(game,coord)
|
||||
if ret == "":
|
||||
return self.display_goban(game)
|
||||
return self.process_form(game,coord)
|
||||
else:
|
||||
return self.display_goban(game)
|
||||
|
||||
|
@ -126,7 +124,7 @@ class PlayGame:
|
|||
mygame.sgf = new_sgf
|
||||
mygame.turn_number = turn + 1
|
||||
mygame.set_time()
|
||||
return ""
|
||||
return self.display_goban(gamename)
|
||||
else: #move not ok
|
||||
settings["Data.Message"] = "This is not a legal move (says Gnugo)."
|
||||
return self.display_goban(gamename,settings)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue