Error: Unhandled Exception: Attempt to access field or method of Null object.
I'm not an expert, but I think that bm just tries to access field "Mis" in type TPlayer what obviously wasn't my point. I can simply get rid of this problem if I want to access variable that isn't declared in that type, I can use "global" key-word and everything works fine. But I'm not able to find solution for locals. I could use a function instead of a method, but I hope it's also possible with methods (it's quite shorter). Is anyone here who could help me?