--- 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)