A pirate quartermaster: Fixes

Hello everyone! Fixed a bug after the last update: If an old game was launched, the tests related to the last specialty made the game crash Have a nice day or evening.