preselect baseball bat in Knockball and Basketball
authorsheepluva
Mon, 05 Oct 2015 13:38:25 +0200
changeset 11202 cc308446f90d
parent 11201 8e0e3b79efa3
child 11205 9301550d2566
child 11329 5438a3907d59
preselect baseball bat in Knockball and Basketball
share/hedgewars/Data/Maps/Basketball/map.lua
share/hedgewars/Data/Maps/Knockball/map.lua
--- a/share/hedgewars/Data/Maps/Basketball/map.lua	Sun Oct 04 16:30:55 2015 -0400
+++ b/share/hedgewars/Data/Maps/Basketball/map.lua	Mon Oct 05 13:38:25 2015 +0200
@@ -54,3 +54,7 @@
 		end
 	end
 end
+
+function onNewTurn()
+    SetWeapon(amBaseballBat)
+end
--- a/share/hedgewars/Data/Maps/Knockball/map.lua	Sun Oct 04 16:30:55 2015 -0400
+++ b/share/hedgewars/Data/Maps/Knockball/map.lua	Mon Oct 05 13:38:25 2015 +0200
@@ -68,3 +68,7 @@
 		end
 	end
 end
+
+function onNewTurn()
+    SetWeapon(amBaseballBat)
+end