diff options
Diffstat (limited to 'src/game/Item.cpp')
-rw-r--r-- | src/game/Item.cpp | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/game/Item.cpp b/src/game/Item.cpp index 1a5dd558c8f..7c2a49e10af 100644 --- a/src/game/Item.cpp +++ b/src/game/Item.cpp @@ -625,12 +625,14 @@ void Item::SetState(ItemUpdateState state, Player *forplayer) delete this; return; } - if (state != ITEM_UNCHANGED) { // new items must stay in new state until saved - if (uState != ITEM_NEW) uState = state; - AddToUpdateQueueOf(forplayer); + if (uState != ITEM_NEW) + uState = state; + + if (forplayer) + AddToUpdateQueueOf(forplayer); } else { |