diff options
author | Yorhel <git@yorhel.nl> | 2020-05-25 14:29:03 +0200 |
---|---|---|
committer | Yorhel <git@yorhel.nl> | 2020-05-25 14:29:28 +0200 |
commit | fbe2b482ff4cf19b25941a70bb72bb23a15c11d1 (patch) | |
tree | fdf2b58a31a39413624eca472e23f1fbacb1b27d /elm | |
parent | 71d8fb65059288d6f312bf6c61b21c8bb2dea82f (diff) |
Chars::Edit: Character creation + copying
This removes the 'Add character' link from the main menu, need some data
to see if it's used.
Diffstat (limited to 'elm')
-rw-r--r-- | elm/CharEdit.elm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/elm/CharEdit.elm b/elm/CharEdit.elm index 56aadb81..6b964117 100644 --- a/elm/CharEdit.elm +++ b/elm/CharEdit.elm @@ -269,7 +269,7 @@ update msg model = isValid : Model -> Bool isValid model = not - ( model.name == model.original + ( (model.name /= "" && model.name == model.original) || hasDuplicates (List.map (\v -> (v.vid, Maybe.withDefault 0 v.rid)) model.vns) ) |