Moved past Ogram's post without talking to them, game crashed when I presume the automatic handover of armaments called a deprecated function:
takeMeleeWeapon() deprecated. Call inventory.takeMeleeWeapon() instead.