Closed jtsalisbury closed 10 years ago
I can't see how. 1 == true and 0 == false. Which has no reason not to work.
I changed it to tobool(var) for you, even though I have no doubt it would have worked.
I'm going to have to test it before I merge I had tried something with tobool prior to it's current state and it did not work however I'm certain the first part would not have worked because of how the WriteBit works
It looks at the definition not evaluation of the input, so 0 is defined, and therefore true.
Did more tests. tobool() works, however 0 in any if statement seemed to return false? Which is gay as fuck, and totally stupid. However I reverted the things that would be affected by it.
Sorry about that :-1:
NEWBRICT: I had the same thought process, believe me.... I spent forever trying to determine the problem, lo and behold the broken net library
The first reply was a local variable that just sits there. You aren't sending it anywhere. The second one wouldn't matter because you're just rewriting the bit.
There's a reason I don't use bits. Lmao
Close this since there are conflicts now..
Alright, If you want to make another pull request with the local vars and the code cleanup feel free, otherwise I'll just copy them from your commits later tonight
thanks!