When using gs.Map.HasData to detect whether the user is in game or on the main menu, I noticed that it seems to always return true regardless of condition. I did find a workaround which is to use gs.Map.JSON.Equals("{}") which will return true if when the player is on the main menu.
When using
gs.Map.HasData
to detect whether the user is in game or on the main menu, I noticed that it seems to always return true regardless of condition. I did find a workaround which is to usegs.Map.JSON.Equals("{}")
which will return true if when the player is on the main menu.