Another "breaks the main loop" error.
InvalidCastException: Cannot cast from source type to destination type.
at CrplCore.ProcessCommands (Boolean start, Boolean final, Boolean gameLoaded, Boolean paused) [0x00000] in <filename unknown>:0
at CrplCore.GameUpdate (Boolean final, Boolean paused) [0x00000] in <filename unknown>:0
at CommonUnit.PausedGameUpdate () [0x00000] in <filename unknown>:0
at GameSpace.GameUpdate () [0x00000] in <filename unknown>:0
at GameSpace.Update () [0x00000] in <filename unknown>:0
(Filename: Line: -1)
Found in someone else's provided save for http://knucklecracker.com/forums/index.php?topic=23262.msg155775#msg155775. When testing the map myself, this problem never occurred, but this save does produce the error on my computer. Just let it run for a few seconds.
If you open it in the editor, the PRPL console says FindParticleTarget is trying to pop from an empty stack. Admittedly, I created the script before the wiki was passable, and didn't update it after. However, a simple take-from-empty-stack shouldn't break things this badly.