hedgewars/uScript.pas
changeset 6752 11d898afe582
parent 6746 e13058484d72
child 6763 8a06161ede49
--- a/hedgewars/uScript.pas	Tue Feb 28 22:00:33 2012 +0100
+++ b/hedgewars/uScript.pas	Tue Feb 28 21:25:36 2012 -0500
@@ -1780,8 +1780,8 @@
     uAmmos.initModule;
     if ScriptExists('onAmmoStoreInit') then
         begin
+        ScriptPrepareAmmoStore;
         ScriptCall('onAmmoStoreInit');
-        ScriptPrepareAmmoStore;
         SetAmmoLoadout(ScriptAmmoLoadout);
         SetAmmoProbability(ScriptAmmoProbability);
         SetAmmoDelay(ScriptAmmoDelay);