summaryrefslogtreecommitdiffstats
path: root/sigscript/MapWarpWrapper.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'sigscript/MapWarpWrapper.cpp')
-rw-r--r--sigscript/MapWarpWrapper.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/sigscript/MapWarpWrapper.cpp b/sigscript/MapWarpWrapper.cpp
index 4af106a9..70547608 100644
--- a/sigscript/MapWarpWrapper.cpp
+++ b/sigscript/MapWarpWrapper.cpp
@@ -56,8 +56,7 @@ QString Sigscript::MapWarpWrapper::name() const
QRect Sigscript::MapWarpWrapper::area() const
{
- if (sigmod()->singlePlayer() && hasValueOfType<QRect>("area"))
- return valueOfType<QRect>("area");
+ ALLOW_OVERRIDE_SO(warp, QRect, area);
return m_warp->area();
}