Force TechRacer maps when image map is selected. Fixes Google Code issue #882
authorWuzzy <almikes@aol.com>
Wed, 13 Apr 2016 13:16:01 +0200
changeset 11939 c17e5ac9f76d
parent 11938 20b755da986f
child 11940 e1bae42efacd
Force TechRacer maps when image map is selected. Fixes Google Code issue #882 If you start a TechRacer map with an image map selected, the resulting map will likely to be completely unplayable. So this commit disables this.
share/hedgewars/Data/Scripts/Multiplayer/TechRacer.lua
--- a/share/hedgewars/Data/Scripts/Multiplayer/TechRacer.lua	Wed Apr 13 13:14:01 2016 +0200
+++ b/share/hedgewars/Data/Scripts/Multiplayer/TechRacer.lua	Wed Apr 13 13:16:01 2016 +0200
@@ -700,6 +700,7 @@
     addHashData(mapID)
 
 		Theme = "Cave"
+		Map = ""
 
 		MapGen = mgDrawn
 		TemplateFilter = 0