let getBoolValue() actually return a bool
This commit is contained in:
parent
cde64c8543
commit
bd327892d6
1 changed files with 1 additions and 1 deletions
|
@ -39,7 +39,7 @@ Node = {
|
|||
getBoolValue : func {
|
||||
val = me.getValue();
|
||||
if(me.getType() == "STRING" and val == "false") { 0 }
|
||||
else { val }
|
||||
else { val != 0 }
|
||||
}
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue