aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornsensfel <SpamShield0@noot-noot.org>2017-12-08 22:40:33 +0100
committernsensfel <SpamShield0@noot-noot.org>2017-12-08 22:40:33 +0100
commit2d5e842e6955a8619a74a20d9aa3a026d456182c (patch)
treeb20bf9e24a99398985b51e0341ee97667039cd9a /src/battlemap/src/ElmModule/Update.elm
parentd05ffa34c39b87d080e0f1ed24bcb4ac88935d88 (diff)
downloadtacticians-client-2d5e842e6955a8619a74a20d9aa3a026d456182c.zip
tacticians-client-2d5e842e6955a8619a74a20d9aa3a026d456182c.tar.bz2
It compiles again.
Diffstat (limited to 'src/battlemap/src/ElmModule/Update.elm')
-rw-r--r--src/battlemap/src/ElmModule/Update.elm18
1 files changed, 11 insertions, 7 deletions
diff --git a/src/battlemap/src/ElmModule/Update.elm b/src/battlemap/src/ElmModule/Update.elm
index 947b232..b8ae924 100644
--- a/src/battlemap/src/ElmModule/Update.elm
+++ b/src/battlemap/src/ElmModule/Update.elm
@@ -8,11 +8,15 @@ import Struct.Error
import Struct.UI
import Struct.Model
-import Update.RequestDirection
-import Update.SelectTile
-import Update.SelectCharacter
+import Update.ChangeScale
import Update.EndTurn
import Update.HandleServerReply
+import Update.RequestDirection
+import Update.SelectCharacter
+import Update.SelectTab
+import Update.SelectTile
+import Update.SendLoadBattlemapRequest
+import Update.SwitchTeam
import Send.LoadBattlemap
@@ -42,14 +46,14 @@ update event model =
(Update.ChangeScale.apply_to new_model mod)
(Struct.Event.TabSelected tab) ->
- (Update.SelectTab.apply_to new_model mod)
+ (Update.SelectTab.apply_to new_model tab)
Struct.Event.DebugTeamSwitchRequest ->
(Update.SwitchTeam.apply_to new_model)
- (Event.DebugLoadBattlemapRequest) ->
+ (Struct.Event.DebugLoadBattlemapRequest) ->
(Update.SendLoadBattlemapRequest.apply_to new_model)
- (Event.ServerReplied result) ->
- (Model.HandleServerReply.apply_to model result)
+ (Struct.Event.ServerReplied result) ->
+ (Update.HandleServerReply.apply_to model result)