ID:98192
 
BYOND Version:471
Operating System:Windows 7 Home Basic 64-bit
Web Browser:Firefox 3.6.6
Applies to:Dream Seeker
Status: Verified

A member of our crack team of bug testers has verified that this issue is reproducible, and has handed it off to the development team for investigation.
Descriptive Problem Summary:
The filter null|mob adds an additional entry to the list of choice, when there is only a single list entry, but only when there is a following second parameter expected.

Numbered Steps to Reproduce Problem:
  1. Create a list with a single entry
  2. Create a verb that expects two parameters, one of which is filtered with mob|null and chooses from the list


Code Snippet (if applicable) to Reproduce Problem:
var/list/players = list()

mob
Login()
..()
players += src

Logout()
players -= src

verb
Test1(var/mob/target as null|mob in players, var/message as null|text)
// An additional "" is added to the list when choosing

Test2(var/mob/target as null|mob in players)
// The additional "" is no longer present


Expected Results:
null|mob to yield the same result, regardless on the amount of parameter a verb expects.

Actual Results:
null|mob adds an "" to the list of choice.

The problem occurs
Every time
In other user accounts - Tested by Evanx
On other computers - Tested by Evanx

When does the problem NOT occur?
The problem does not occur when there is only a single parameter in the verb, or when there are multiple entries in the list.

Workarounds:
None.
Btw. what is the reason for the additional 'None' button being added? The default Cancel button seems to be enough.