In a mod I'm working on, there's a function that has multiple actions in it, one of which is to destroy a city at a fixed coordinate. When I run the mod, all other code of the function works well except the code to destroy the city.
This is the code I have:
What am I doing wrong?
This is the code I have:
Quote:
local plot = Map.GetPlot( 65, 43 ); local city = plot:GetPlotCity(); city:Kill(); |