summaryrefslogtreecommitdiff
path: root/plugins/reveal.cpp
diff options
context:
space:
mode:
authorPetr Mrázek2011-07-06 12:52:16 +0200
committerPetr Mrázek2011-07-06 12:52:16 +0200
commit4cd80fa5d443fe8d90ce899306e4e8b0ccdca5dd (patch)
tree98f621d8c5811d27365fd61ad50358421baa2e77 /plugins/reveal.cpp
parent8318213b975a8f132a8e7b9a16d6e42d99b11892 (diff)
downloaddfhack-4cd80fa5d443fe8d90ce899306e4e8b0ccdca5dd.tar.gz
dfhack-4cd80fa5d443fe8d90ce899306e4e8b0ccdca5dd.tar.bz2
dfhack-4cd80fa5d443fe8d90ce899306e4e8b0ccdca5dd.tar.xz
Only warn user when needed.
Diffstat (limited to 'plugins/reveal.cpp')
-rw-r--r--plugins/reveal.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/reveal.cpp b/plugins/reveal.cpp
index 54db8191..452ceb10 100644
--- a/plugins/reveal.cpp
+++ b/plugins/reveal.cpp
@@ -177,7 +177,8 @@ DFhackCExport command_result reveal(DFHack::Core * c, std::vector<std::string> &
}
c->Resume();
dfout << "Map revealed." << std::endl;
- dfout << "Unpausing can unleash the forces of hell, so it has beed temporarily disabled!" << std::endl;
+ if(!no_hell)
+ dfout << "Unpausing can unleash the forces of hell, so it has beed temporarily disabled!" << std::endl;
dfout << "Run 'unreveal' to revert to previous state." << std::endl;
return CR_OK;
}