share/hedgewars/Data/Scripts/TechMaps.lua
changeset 11642 45316b6eb4a0
parent 11013 594a84819c78
child 12938 e65aa3c3d4e6
--- a/share/hedgewars/Data/Scripts/TechMaps.lua	Fri Sep 04 08:14:12 2015 -0400
+++ b/share/hedgewars/Data/Scripts/TechMaps.lua	Fri Sep 11 03:07:48 2015 +0200
@@ -88,6 +88,9 @@
 end
 
 function onPreviewInit()
+	if HedgeEditor == true then
+		return
+	end
 
 	if mapID == nil then
 		mapID = 2 + GetRandom(7)