slight change to gamestate.h template usage