Small bugfix in Petra's Defense manager
We were incorrectly comparing an object to a number.
I don't think this will drastically change the AI behaviour as it's rather an edge case.
Reviewed By: Freagarach
Differential Revision: https://code.wildfiregames.com/D5030