Jan-17-2019, 04:44 PM
Well, you are never calling meth22, so the add attribute of cmod2 never gets set.
Change line 10 to
Change line 10 to
add = cmod2.meth22()
. Then if you need to use add in another method besides meth31, just use add = cmod.add
.
Craig "Ichabod" O'Brien - xenomind.com
I wish you happiness.
Recommended Tutorials: BBCode, functions, classes, text adventures
I wish you happiness.
Recommended Tutorials: BBCode, functions, classes, text adventures