Don't trigger player slot reordering when autosaving after swapped
This commit is contained in:
parent
5db9e4e1c5
commit
c9d45daac9
@ -288,6 +288,7 @@ void UniverseClient::update(float dt) {
|
|||||||
if (Time::monotonicMilliseconds() >= m_storageTriggerDeadline) {
|
if (Time::monotonicMilliseconds() >= m_storageTriggerDeadline) {
|
||||||
if (m_mainPlayer) {
|
if (m_mainPlayer) {
|
||||||
m_playerStorage->savePlayer(m_mainPlayer);
|
m_playerStorage->savePlayer(m_mainPlayer);
|
||||||
|
if (playerIsOriginal())
|
||||||
m_playerStorage->moveToFront(m_mainPlayer->uuid());
|
m_playerStorage->moveToFront(m_mainPlayer->uuid());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user