Ticking and lua register bug fix
Class MapState member name changed