Chris7 / Mudlet2

Mudlet vesion 2.+
GNU General Public License v2.0
3 stars 2 forks source link

Changing value type is a bit odd #16

Closed vadi2 closed 11 years ago

vadi2 commented 11 years ago

Sample case:

I think this is occurring because the dialog upon save only reads back and auto-casts the value of variable, but it does not set the type on a variable that you've selected upon saving. If it did that, I think this problem would be avoided.

Chris7 commented 11 years ago

Fixed this. I disagree with: change it to the text true, save, it becomes a string now (well, that works, but ought to be boolean)

If you declare a string to the value of true, it should be a string. It's not auto-casting once the variable is set.

vadi2 commented 11 years ago

Fair enough