Insprill / dv-multiplayer

A Derail Valley mod adding multiplayer to the game.
Apache License 2.0
33 stars 16 forks source link

Connecting to a server without password is impossible #35

Open t0stiman opened 8 months ago

t0stiman commented 8 months ago

The confirm button is deactivated unless a password is typed.

afbeelding

fauxnik commented 2 months ago

This affects the port dialog too. Empty should equate to the default (7777), but the Confirm button is disabled until something is typed into the field.

Insprill commented 2 months ago

There's a method in the text input popup class (forget the exact name) that marks the input as invalid when it's empty. Should be an easy fix if someone would like to make a PR.

fauxnik commented 2 months ago

I was looking into it the other day out of curiosity. I'll be unavailable for about a week, but if there's no rush I can take another look when I return.