ID:1832362
 
Resolved
Calling input() without a type, no list of items to choose from, and no default value would fail, instead of falling back on "as text".
BYOND Version:507.1282
Operating System:N/A
Web Browser:N/A
Applies to:Dream Daemon
Status: Resolved (507.1283)

This issue has been resolved.
(Posted by Lummox JR on behalf of Tobba)

Descriptive Problem Summary:

Calling input() with no default value, no type, and no list, fails to do anything.

Code Snippet (if applicable) to Reproduce Problem:
mob/verb/TryInput()
var/result = input("Enter some text")


Expected Results:

The input() should default to a text type.

Actual Results:

The input() fails.

Workarounds:

Always use a type with input().
Lummox JR resolved issue with message:
Calling input() without a type, no list of items to choose from, and no default value would fail, instead of falling back on "as text".