arcomage / arcomage-hd

Web-based, free and open source, remastered 3D clone of 3DO/NWC's 2000 card game Arcomage. 13 languages. Desktop or mobile Android iOS. Online or offline PWA. Against AI or Multiplayer (w/o server). πŸ§πŸ‘ΎπŸƒ (ts+react+redux+rxjs, CSS-based anim, WebRTC)
https://arcomage.github.io
MIT License
125 stars 28 forks source link

Fields in settings behave unexpectedly; can't type #81

Open aiqc opened 5 months ago

aiqc commented 5 months ago
image


If I highlight the text in victory conditions > resource field and then type "2" it shows a value of "8"

tomchen commented 5 months ago

The minimum for the resource is max(bricks+quarry, gems+magic, recruits+dungeon)+1 so it's 8 for the default settings. User can't enter a number below 8, if it's less than 8, then it will be set to 8. But yeah, it shouldn't check immediately after user types a number, it should wait (debounce) for half a second or something before checking it