summaryrefslogtreecommitdiff |
diff options
author | nsensfel <SpamShield0@noot-noot.org> | 2020-01-15 17:38:44 +0100 |
---|---|---|
committer | nsensfel <SpamShield0@noot-noot.org> | 2020-01-15 17:38:44 +0100 |
commit | 12f659fbee61be12c02167773f461b7e3fb8875b (patch) | |
tree | 0b1367d6573cf81953e0dd0e3ab453e48a444c38 /src/main-menu | |
parent | 959e82eafece7d355b2ffdc2a6fec55afd6f35db (diff) |
...
Diffstat (limited to 'src/main-menu')
-rw-r--r-- | src/main-menu/src/Comm/LoadPlayer.elm | 2 | ||||
-rw-r--r-- | src/main-menu/src/Struct/BattleRequest.elm | 6 | ||||
-rw-r--r-- | src/main-menu/src/Update/HandleServerReply.elm | 2 | ||||
-rw-r--r-- | src/main-menu/src/View/Tab/NewBattle.elm | 2 |
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) ) ) ] |