aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornsensfel <SpamShield0@noot-noot.org>2018-01-05 13:15:23 +0100
committernsensfel <SpamShield0@noot-noot.org>2018-01-05 13:15:23 +0100
commit4b4d8ee32e32aa78ff5d8f68279927725163d641 (patch)
tree27eb2d8ff9448bcd707bf20cd2f794b80a9b0dcb /src/battlemap/src/ElmModule/Update.elm
parent3e338edd3d3a5bde1ea738f197762360c125261c (diff)
downloadtacticians-client-4b4d8ee32e32aa78ff5d8f68279927725163d641.zip
tacticians-client-4b4d8ee32e32aa78ff5d8f68279927725163d641.tar.bz2
Starting to work on the addition of inventories.
Diffstat (limited to 'src/battlemap/src/ElmModule/Update.elm')
-rw-r--r--src/battlemap/src/ElmModule/Update.elm3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/battlemap/src/ElmModule/Update.elm b/src/battlemap/src/ElmModule/Update.elm
index b8ae924..188b2fc 100644
--- a/src/battlemap/src/ElmModule/Update.elm
+++ b/src/battlemap/src/ElmModule/Update.elm
@@ -11,6 +11,7 @@ import Struct.Model
import Update.ChangeScale
import Update.EndTurn
import Update.HandleServerReply
+import Update.OpenInventory
import Update.RequestDirection
import Update.SelectCharacter
import Update.SelectTab
@@ -57,3 +58,5 @@ update event model =
(Struct.Event.ServerReplied result) ->
(Update.HandleServerReply.apply_to model result)
+ Struct.Event.InventoryRequested ->
+ (Update.OpenInventory.apply_to model)