Replaced LogAction with LogToGame