Update GameInstance.py

changed the take_action function