I solved it!!!
Perhaps the documentation should be updated to include this, but... I'm not sure where I'd even put it.
The bug was "getGameProgression" had "self::getCurrentPlayerId()" in it!
I had completely given up and was moving on to making the game possible to spectate without crashing and ran into exactly the same problem. Zombies and spectators were both killing my game in exactly the same way, even with zombieTurn and getAllDatas completely commented out.
Solving the next problem inadvertently solved this one also.
Normally I solve a bug and feel like a complete moron, but I'm actually feeling fairly smart for solving this one. (Yes I know, you're all much smarter, but this is my first game. Let me have this.)
Perhaps the documentation should be updated to include this, but... I'm not sure where I'd even put it.
The bug was "getGameProgression" had "self::getCurrentPlayerId()" in it!
I had completely given up and was moving on to making the game possible to spectate without crashing and ran into exactly the same problem. Zombies and spectators were both killing my game in exactly the same way, even with zombieTurn and getAllDatas completely commented out.
Solving the next problem inadvertently solved this one also.
Normally I solve a bug and feel like a complete moron, but I'm actually feeling fairly smart for solving this one. (Yes I know, you're all much smarter, but this is my first game. Let me have this.)