Fixed previous commit

CommandFunction is now accessible by anyone that includes gamemanager.