# UE5.4 Changes to DefaultGame.ini reverting after editor refresh or map change

**URL:** <https://forums.unrealengine.com/t/ue5-4-changes-to-defaultgame-ini-reverting-after-editor-refresh-or-map-change/2654116>\
**Category:** Editor Scripting\
**Tags:** unreal-engine, editor, question, CPP\
**Created:** [September 6, 2025, 12:58am UTC](https://forums.unrealengine.com/t/ue5-4-changes-to-defaultgame-ini-reverting-after-editor-refresh-or-map-change/2654116 "2025-09-06T00:58:03Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![JustJunuh](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/justjunuh/32/1191727_2.png) [@JustJunuh](https://forums.unrealengine.com/u/JustJunuh)\
**Post date:** [September 6, 2025, 1:41am UTC](https://forums.unrealengine.com/t/ue5-4-changes-to-defaultgame-ini-reverting-after-editor-refresh-or-map-change/2654116/2 "2025-09-06T01:41:34Z")

</div>

🤦‍♂️ Sorry guys. Looks like this issue was just bad execution order. The BEUW was writing to the map settings unintentionally during initialization. The code here works.

If you’re still having an issue, consider this thread: [5.4 Config not saving correctly](https://forums.unrealengine.com/t/5-4-config-not-saving-correctly/1860118)

---

_[View the full topic](https://forums.unrealengine.com/t/ue5-4-changes-to-defaultgame-ini-reverting-after-editor-refresh-or-map-change/2654116)._
