-- Initialize 'Raze' button.
local bRaze = activePlayer:CanRaze(newCity);
if (bRaze) then
local OnRazeClicked = function()
Network.SendDoTask(cityID, TaskTypes.TASK_RAZE, -1, -1, false, false, false, false);
end
buttonText = Locale.ConvertTextKey("TXT_KEY_POPUP_RAZE_CAPTURED_CITY");
strToolTip = Locale.ConvertTextKey("TXT_KEY_POPUP_CITY_CAPTURE_INFO_RAZE", iUnhealthForAnnexing);
AddButton(buttonText, OnRazeClicked, strToolTip);
end
-- CITY SCREEN CLOSED - uh oh, original comment: "Don't look, Marc"
local CityScreenClosed = function()
UIManager

equeuePopup(Controls.EmptyPopup);
if ( CityScreenClosed ~= nil ) then
Events.SerialEventExitCityScreen.Remove(CityScreenClosed);
end
end