Game was not rated wrong victory condition

Today i was playing with my friend and we won but the game didnt stop
All enemies had the skull symbol but the game kept going
I exited to windows and on the replay it says: Game was not rated wrong victory condition?

Most likely the game was set to the sandbox victory condition in the lobby options. You can check the game options if you click download more info on the replay in the client.