Rewrite the ShowOwnedPopups function with a safety algorithm.

1 file changed