Currently works in browser but not in-game