diff --git a/desktop_version/src/Script.cpp b/desktop_version/src/Script.cpp
index abe82949..5192bf14 100644
--- a/desktop_version/src/Script.cpp
+++ b/desktop_version/src/Script.cpp
@@ -1683,7 +1683,7 @@ void scriptclass::run(void)
             }
             else if (words[0] == "setactivityposition")
             {
-                obj.customactivitypositiony = ss_toi(words[2]);
+                obj.customactivitypositiony = ss_toi(words[1]);
             }
             else if (words[0] == "createrescuedcrew")
             {