Page 1 of 1

rev 19558 (Sloth)

PostPosted: 12 Feb 2013, 19:43
by Max mtg
Sloth, I intend to minimize global references and use of singletons.getSomething to the least possible.

By commiting 19558 you've just reintroduced that dependence from an evil global variable.
According to comment to this revision, you were fixing an NPE. Would you describe the method to reproduce that problem, so that I have a chance to apply a diffrent fix?

Re: rev 19558 (Sloth)

PostPosted: 13 Feb 2013, 13:54
by Sloth
Max mtg wrote:Would you describe the method to reproduce that problem, so that I have a chance to apply a diffrent fix?
Try to cast a Morph or hardcoded card.

Re: rev 19558 (Sloth)

PostPosted: 14 Feb 2013, 06:52
by Max mtg
Thanks, I've set up the correct field initialization order.