Scripts/ZG: Fix a warning and a compile error introduced in previous commit

Personal opinion: BossAI should not have a public field named "instance"