summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/main-menu')
-rw-r--r--src/main-menu/src/Comm/LoadPlayer.elm2
-rw-r--r--src/main-menu/src/Struct/BattleRequest.elm6
-rw-r--r--src/main-menu/src/Update/HandleServerReply.elm2
-rw-r--r--src/main-menu/src/View/Tab/NewBattle.elm2
4 files changed, 6 insertions, 6 deletions
diff --git a/src/main-menu/src/Comm/LoadPlayer.elm b/src/main-menu/src/Comm/LoadPlayer.elm
index ce17b8c..49bc562 100644
--- a/src/main-menu/src/Comm/LoadPlayer.elm
+++ b/src/main-menu/src/Comm/LoadPlayer.elm
@@ -41,5 +41,5 @@ try model =
(Comm.Send.maybe_send
model
Constants.IO.player_loading_handler
- maybe_encod
+ maybe_encode
)
diff --git a/src/main-menu/src/Struct/BattleRequest.elm b/src/main-menu/src/Struct/BattleRequest.elm
index b6864e1..c4f7aaa 100644
--- a/src/main-menu/src/Struct/BattleRequest.elm
+++ b/src/main-menu/src/Struct/BattleRequest.elm
@@ -12,7 +12,7 @@ module Struct.BattleRequest exposing
set_category,
set_size,
set_map_id,
- get_url_params
+ get_url_parameters
)
-- Elm -------------------------------------------------------------------------
@@ -81,8 +81,8 @@ get_map_id ir = ir.map_id
set_map_id : String -> Type -> Type
set_map_id id ir = {ir | map_id = id}
-get_url_params : Type -> String
-get_url_params ir =
+get_url_parameters : Type -> String
+get_url_parameters ir =
(
"?six="
++ (String.fromInt ir.ix)
diff --git a/src/main-menu/src/Update/HandleServerReply.elm b/src/main-menu/src/Update/HandleServerReply.elm
index d633bf3..62f8005 100644
--- a/src/main-menu/src/Update/HandleServerReply.elm
+++ b/src/main-menu/src/Update/HandleServerReply.elm
@@ -44,7 +44,7 @@ disconnected current_state =
(Url.percentEncode
(
"/main-menu/?"
- ++ (Struct.Flags.get_params_as_url model.flags)
+ ++ (Struct.Flags.get_parameters_as_url model.flags)
)
)
)
diff --git a/src/main-menu/src/View/Tab/NewBattle.elm b/src/main-menu/src/View/Tab/NewBattle.elm
index c5d22fa..f74e7fb 100644
--- a/src/main-menu/src/View/Tab/NewBattle.elm
+++ b/src/main-menu/src/View/Tab/NewBattle.elm
@@ -135,7 +135,7 @@ select_characters_html battle_req =
(
"/roster-editor/"
++
- (Struct.BattleRequest.get_url_params battle_req)
+ (Struct.BattleRequest.get_url_parameters battle_req)
)
)
]