Skip to content

Commit ab8b18b

Browse files
committed
Changelog and comment.
1 parent d88d8ff commit ab8b18b

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -187,6 +187,8 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
187187

188188
- Fixed several issues with the way pie menus and aiming interacts between players, such as opening the pie menu always resetting the M&KB player's aim and pie selection, as well as another issue where the pie menu would fail to appear entirely for some players.
189189

190+
- Fixed issue where scripts applied to `MovableObject`s could become disordered in certain circumstances.
191+
190192
</details>
191193

192194
<details><summary><b>Removed</b></summary>

Source/Entities/MovableObject.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1235,7 +1235,7 @@ namespace RTE {
12351235
};
12361236

12371237
std::string m_ScriptObjectName; //!< The name of this object for script usage.
1238-
std::vector<std::string> m_AllLoadedScripts; //!< A map of script paths to the enabled state of the given script.
1238+
std::vector<std::string> m_AllLoadedScripts; //!< A vector of script for scripts applied to this object, in order of insertion.
12391239
std::unordered_map<std::string, bool> m_EnabledScripts; //!< A map of script paths to the enabled state of the given script.
12401240
std::unordered_map<std::string, std::vector<LuaFunction>> m_FunctionsAndScripts; //!< A map of function names to vectors of Lua functions. Used to maintain script execution order and avoid extraneous Lua calls.
12411241

0 commit comments

Comments
 (0)