 |
rck Novice
Joined: 26 Oct 2005 Posts: 32 Location: California
|
Posted: Tue Dec 18, 2007 4:22 am
[2.18] Bug: Lua get* -> Object:invalid -> .isvalid = true |
| Code: |
| echo(tostring(zs.gettrigger("some_trigger_that_does_not_exist"))); |
| Code: |
| echo(tostring(zs.gettrigger("some_trigger_that_does_not_exist").isvalid)); |
The invalid object is valid? Suuure.
I get around this by checking if the name property is nil instead, but this should probably be corrected. |
|
|
|
 |
Tech GURU

Joined: 18 Oct 2000 Posts: 2733 Location: Atlanta, USA
|
Posted: Fri Dec 28, 2007 3:59 am |
Confirmed.
|
|
_________________ Asati di tempari! |
|
|
 |
Zugg MASTER

Joined: 25 Sep 2000 Posts: 23379 Location: Colorado, USA
|
Posted: Mon Jan 07, 2008 11:47 pm |
Added to bug list.
|
|
|
|
 |
Zugg MASTER

Joined: 25 Sep 2000 Posts: 23379 Location: Colorado, USA
|
Posted: Thu Feb 05, 2009 8:16 pm |
And old one, but fixed for v3.04.
|
|
|
|
 |
|
|
|