From 0962708fb52113906367f0cad1d77997448c5a00 Mon Sep 17 00:00:00 2001 From: Sascha Striegel Date: Mon, 24 Jun 2019 18:24:51 +0200 Subject: [PATCH] Rearrange AID/UID order in tooltips for consistency (#269) The item property window displays the AID first --- source/map_drawer.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/map_drawer.cpp b/source/map_drawer.cpp index 9236d234..45efde08 100644 --- a/source/map_drawer.cpp +++ b/source/map_drawer.cpp @@ -1321,10 +1321,10 @@ void MapDrawer::WriteTooltip(Item* item, std::ostringstream& stream) stream << "id: " << id << "\n"; + if (action > 0) + stream << "aid: " << action << "\n"; if(unique > 0) stream << "uid: " << unique << "\n"; - if(action > 0) - stream << "aid: " << action << "\n"; if(!text.empty()) stream << "text: " << text << "\n"; }