How to notify editor that map need to be saved?

Hi !

i have a method that does changes in my Actor Properties ( on PostInitProperties ), i want the script to notify the map is dirty and need to be saved before quitting , how could i do that ?

Call SetDirtyFlag(true) on the package that contains the map (eg, Map->GetOutermost()->SetDirtyFlag(true)).

that was a fast and efficient answer thanks !