From 96b70a93bc0a1d92992d5c66b85dede85f857fcf Mon Sep 17 00:00:00 2001 From: lethosor Date: Sun, 18 May 2014 21:21:17 -0400 Subject: [PATCH] Update readme --- Readme.rst | 1 + plugins/embark-tools.cpp | 3 +-- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Readme.rst b/Readme.rst index 3451eaff0..006f06ae8 100644 --- a/Readme.rst +++ b/Readme.rst @@ -2042,6 +2042,7 @@ Tools: * ``anywhere``: Allows embarking anywhere (including sites, mountain-only biomes, and oceans). Use with caution. * ``nano``: An implementation of nano embark - allows resizing below 2x2 when enabled. +* ``sand``: Displays an indicator when sand is present in the currently-selected area, similar to the default clay/stone indicators. misery ------ diff --git a/plugins/embark-tools.cpp b/plugins/embark-tools.cpp index 12b00bb0b..23354abcc 100644 --- a/plugins/embark-tools.cpp +++ b/plugins/embark-tools.cpp @@ -94,8 +94,7 @@ void sand_update () for (auto iter = fragments.begin(); iter != fragments.end(); iter++) { std::string fragment = iter->second; - if (fragment.find("SAND_") != std::string::npos || - fragment.find("SAND :") != std::string::npos) + if (fragment.find("SAND_") != std::string::npos) { sand_indicator = "Sand"; break;