summaryrefslogtreecommitdiff
path: root/src/cat/TPTScriptInterface.cpp
diff options
context:
space:
mode:
authorjacob1 <jfu614@gmail.com>2012-11-16 01:41:38 (GMT)
committer jacob1 <jfu614@gmail.com>2012-11-16 01:41:38 (GMT)
commit16e4c5f7179db5beabe3065781adec7d27000cd9 (patch)
treeb4544943d893a28a9c7c2b62fbbdc36ee2c1f514 /src/cat/TPTScriptInterface.cpp
parent1e32c545d9ca7f960cdd6f77714c7b2761880478 (diff)
downloadpowder-16e4c5f7179db5beabe3065781adec7d27000cd9.zip
powder-16e4c5f7179db5beabe3065781adec7d27000cd9.tar.gz
save pause state in stamps, load pause state from local saves and stamps correctly, remove accidental inclusion
Diffstat (limited to 'src/cat/TPTScriptInterface.cpp')
-rw-r--r--src/cat/TPTScriptInterface.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cat/TPTScriptInterface.cpp b/src/cat/TPTScriptInterface.cpp
index 4782838..684467f 100644
--- a/src/cat/TPTScriptInterface.cpp
+++ b/src/cat/TPTScriptInterface.cpp
@@ -219,7 +219,7 @@ AnyType TPTScriptInterface::tptS_set(std::deque<std::string> * words)
newValue = GetParticleType(((StringType)value).Value());
if (newValue < 0 || newValue >= PT_NUM)
{
- if (((StringType)value).Value() == "GOLD")
+ if (((StringType)value).Value() == "GOLD" || ((StringType)value).Value() == "gold")
throw GeneralException("No, GOLD will not be an element");
else
throw GeneralException("Invalid element");