Okay, so I deleted the file containing the water() action, and I deleted the terrain that used the water() action. I re-attached the main script file in Map Properties in WED to refresh it. I compiled the WED, but I am still getting the same error pop-up about terrain_get_z .

I tried going to a different WED file of mine that never had the water() terrain in it. I placed a region inside of it, and I am still getting the same error pop-up about terrain_get_z .

Does the error just persist even after I deleted the water() file containing terrain_get_z ?