--- a/share/hedgewars/Data/Scripts/Multiplayer/Racer.lua Tue Feb 23 13:45:49 2016 +0300
+++ b/share/hedgewars/Data/Scripts/Multiplayer/Racer.lua Tue Mar 01 08:32:46 2016 +0300
@@ -783,7 +783,7 @@
end
end
- if fastCount > 0 then
+ if map ~= nil and fastCount > 0 then
StartGhostPoints(fastCount)
for i = 0, (fastCount - 1) do
--- a/share/hedgewars/Data/Scripts/Multiplayer/TechRacer.lua Tue Feb 23 13:45:49 2016 +0300
+++ b/share/hedgewars/Data/Scripts/Multiplayer/TechRacer.lua Tue Mar 01 08:32:46 2016 +0300
@@ -1278,7 +1278,7 @@
end
end
- if fastCount > 0 then
+ if map ~= nil and fastCount > 0 then
StartGhostPoints(fastCount)
for i = 0, (fastCount - 1) do