Skip to content
This repository has been archived by the owner on Jan 30, 2022. It is now read-only.

Commit

Permalink
Updated saving game to load map in case it was not loaded after being…
Browse files Browse the repository at this point in the history
… changed by admin
  • Loading branch information
harbdog committed Jun 14, 2016
1 parent 58b5b63 commit 189e8aa
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions grails-app/controllers/roguemek/game/GameController.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -376,6 +376,9 @@ class GameController {
}

gameInstance.save flush:true

// load the board in case is not loaded already
gameInstance.loadMap()

request.withFormat {
form multipartForm {
Expand Down

0 comments on commit 189e8aa

Please sign in to comment.