From 189e8aa0f8f4e72888b7ad457b0b6fc79d9bf0d8 Mon Sep 17 00:00:00 2001 From: Eric Harbeston Date: Mon, 13 Jun 2016 20:41:13 -0400 Subject: [PATCH] Updated saving game to load map in case it was not loaded after being changed by admin --- grails-app/controllers/roguemek/game/GameController.groovy | 3 +++ 1 file changed, 3 insertions(+) diff --git a/grails-app/controllers/roguemek/game/GameController.groovy b/grails-app/controllers/roguemek/game/GameController.groovy index 9efa3db7..11318998 100644 --- a/grails-app/controllers/roguemek/game/GameController.groovy +++ b/grails-app/controllers/roguemek/game/GameController.groovy @@ -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 {