Skip to content

Commit

Permalink
holy fucking shit i just fixed mkxp performance
Browse files Browse the repository at this point in the history
  • Loading branch information
melody-rs committed Sep 24, 2024
1 parent 343f093 commit 573c318
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/display/gl/scene.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,8 @@ bool SceneElement::operator<(const SceneElement &o) const
void SceneElement::setSpriteY(int value)
{
spriteY = value;
scene->reinsert(*this);
if (rgssVer >= 2)
scene->reinsert(*this);
}

void SceneElement::unlink()
Expand Down

0 comments on commit 573c318

Please sign in to comment.