share/hedgewars/Data/Scripts/Multiplayer/HedgeEditor.lua
changeset 12047 7163626748e0
parent 12045 f71e34babe8c
child 12049 030464f34d47
--- a/share/hedgewars/Data/Scripts/Multiplayer/HedgeEditor.lua	Wed Nov 23 19:39:01 2016 +0100
+++ b/share/hedgewars/Data/Scripts/Multiplayer/HedgeEditor.lua	Wed Nov 23 19:43:40 2016 +0100
@@ -540,12 +540,6 @@
 	table.insert(preMadeTeamNamesTranslated, loc(preMadeTeam[i][1]))
 end
 
-local fortArray =	{
-					"Cake", "Castle", "Earth", "EvilChicken", "Flowerhog",
-					"Hydrant", "Lego", "Plane", "Statue", "SteelTower", "Tank",
-					"UFO", "Wood"
-					}
-
 local gameFlagList =	{
 			{"gfMultiWeapon", false, gfMultiWeapon},
 			{"gfBorder", false, gfBorder},
@@ -1458,7 +1452,7 @@
 		local tColor = string.format("0x%X", rgb)
 
 		if getGearValue(gear,"grave") == nil then
-			tFort = fortArray[1+GetRandom(#fortArray)]
+			tFort = GetHogFort(gear)
 			tGrave = GetHogGrave(gear)
 			tFlag = GetHogFlag(gear)
 			tVoice = GetHogVoicepack(gear)