Remove obsolete code from TPTScriptInterface
This commit is contained in:
parent
9bc939d422
commit
b83043e2a6
@ -261,9 +261,6 @@ 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" || ((StringType)value).Value() == "gold")
|
||||
throw GeneralException("No, GOLD will not be an element");
|
||||
else
|
||||
throw GeneralException("Invalid element");
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user