]> git.tdb.fi Git - libs/game.git/commit
Make temporary copies of component/child vectors when synthesizing events
authorMikko Rasa <tdb@tdb.fi>
Sat, 15 Mar 2025 22:24:09 +0000 (00:24 +0200)
committerMikko Rasa <tdb@tdb.fi>
Sat, 15 Mar 2025 22:29:37 +0000 (00:29 +0200)
commit8c004a2117d8e0bacfab68fd38a5873bc71927aa
tree1de3d8eee4439a4890e380529dbc93741e55b08d
parentd82c2c3a9e0245f955e0c6508af4fae15d850e76
Make temporary copies of component/child vectors when synthesizing events

An event listener might add components or child entities, which can
invalidate iterators to the vectors.
source/game/stage.cpp