Fixed some undefined problem and it shouldn't crash when you lose in party, but it won't transition yet either.
Merge branch 'master' of https://github.com/joethered/Introversion-Game