Skip to content

Commit

Permalink
Rearrange AID/UID order in tooltips for consistency (#269)
Browse files Browse the repository at this point in the history
The item property window displays the AID first
  • Loading branch information
Sascha Striegel authored and Mignari committed Jun 24, 2019
1 parent 2af6c31 commit 0962708
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions source/map_drawer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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";
}
Expand Down

0 comments on commit 0962708

Please sign in to comment.