Update GameManager.java

Bug fixed