Entering the empty string into an input dialog where the type is password prevents additional dialogs from appearing in Dream Seeker.
Code Snippet (if applicable) to Reproduce Problem:
mob
verb/Enter_Password()
var/password = input("Enter PW") as password
src << "You entered: [password]"
verb/Enter_Text()
var/password = input("Enter Text") as text
src << "You entered: [password]"
Numbered Steps to Reproduce Problem:
1. Use the verb Enter-Password
2. Press OK without typing any text into the dialog box
Expected Results:
"You entered: " should have been printed to src
Actual Results:
Another dialog box appears. Anything entered into this dialog box is interpreted as a command. Afterwards, both Enter-Password and Enter-Text cannot be used.
Does the problem occur:
Every time? Or how often? Every time
In other games? Yes
In other user accounts? Yes
On other computers? Yes
When does the problem NOT occur?
Entering random strings
Did the problem NOT occur in any earlier versions? If so, what was the last version that worked? (Visit http://www.byond.com/download/build to download old versions for testing.)
Workarounds:
Using 'Enter-Text' instead of enter password