ToME: the Tales of Maj'Eyal http://forums.te4.org/ |
|
How do I convert "nil" to "0"? http://forums.te4.org/viewtopic.php?f=45&t=45720 |
Page 1 of 1 |
Author: | sajberhippien [ Sat Feb 20, 2016 6:56 pm ] |
Post subject: | How do I convert "nil" to "0"? |
Author: | darkgod [ Sat Feb 20, 2016 7:29 pm ] |
Post subject: | Re: How do I convert "nil" to "0"? |
"or 0" is indeed correct. getInfra thoguh you're not actually calling it; you do "t.getInfra + 4" instead of "t.getInfra(self, t) + 4" |
Author: | sajberhippien [ Sat Feb 20, 2016 8:41 pm ] |
Post subject: | Re: How do I convert "nil" to "0"? |
d'oh! Thank you. |
Page 1 of 1 | All times are UTC |
Powered by phpBB® Forum Software © phpBB Group https://www.phpbb.com/ |