From 971e40546239b844eab13524d853c60d08b84dd4 Mon Sep 17 00:00:00 2001 From: jacob1 Date: Sun, 16 Jul 2017 15:52:18 -0400 Subject: [PATCH] don't add null stuff when loading old stamps without author info --- src/gui/game/GameController.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gui/game/GameController.cpp b/src/gui/game/GameController.cpp index fe1e91c54a..86336a4355 100644 --- a/src/gui/game/GameController.cpp +++ b/src/gui/game/GameController.cpp @@ -331,7 +331,7 @@ void GameController::PlaceSave(ui::Point position) { gameModel->SetPaused(placeSave->paused | gameModel->GetPaused()); // if this is a clipboard and there is no author info, don't do anything - if (Client::Ref().IsAuthorsEmpty() || placeSave->authors["type"] != "clipboard") + if (placeSave->authors.size() && (Client::Ref().IsAuthorsEmpty() || placeSave->authors["type"] != "clipboard")) Client::Ref().MergeStampAuthorInfo(placeSave->authors); } }