Core: Fix pet dismiss on phase with update
Merge pull request #12332 from Rochet2/unitphase

Core/Phasing: Fix pet dismiss on phase with update