summaryrefslogtreecommitdiffstats
path: root/sigscript/MapWarpWrapper.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'sigscript/MapWarpWrapper.cpp')
-rw-r--r--sigscript/MapWarpWrapper.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/sigscript/MapWarpWrapper.cpp b/sigscript/MapWarpWrapper.cpp
index bacba9b0..d09646cf 100644
--- a/sigscript/MapWarpWrapper.cpp
+++ b/sigscript/MapWarpWrapper.cpp
@@ -55,7 +55,7 @@ QString Sigscript::MapWarpWrapper::name() const
QPoint Sigscript::MapWarpWrapper::coordinate() const
{
- if (hasValueOfType<QPoint>("coordinate"))
+ if (sigmod()->singlePlayer() && hasValueOfType<QPoint>("coordinate"))
return valueOfType<QPoint>("coordinate");
return m_warp->coordinate();
}