# HG changeset patch # User nemo # Date 1330273708 18000 # Node ID 770689c4625db665f39010865fdc54892fd7861a # Parent 4167ebd563d97fc4fa8ce0fd81465bc948bf0173 copypasta fail diff -r 4167ebd563d9 -r 770689c4625d hedgewars/uScript.pas --- a/hedgewars/uScript.pas Sun Feb 26 11:21:32 2012 -0500 +++ b/hedgewars/uScript.pas Sun Feb 26 11:28:28 2012 -0500 @@ -1966,7 +1966,7 @@ if ScriptExists('onNewAmmoStore') then begin ScriptPrepareAmmoStore; - ScriptCall('onAmmoStoreInit'); + ScriptCall('onNewAmmoStore'); end; AddAmmoStore; for j:= 0 to Pred(ClansArray[i]^.TeamsNumber) do @@ -1980,7 +1980,7 @@ if ScriptExists('onNewAmmoStore') then begin ScriptPrepareAmmoStore; - ScriptCall('onAmmoStoreInit'); + ScriptCall('onNewAmmoStore'); end; AddAmmoStore; TeamsArray[i]^.Hedgehogs[j].AmmoStore:= StoreCnt - 1 @@ -1991,7 +1991,7 @@ if ScriptExists('onNewAmmoStore') then begin ScriptPrepareAmmoStore; - ScriptCall('onAmmoStoreInit'); + ScriptCall('onNewAmmoStore'); end; AddAmmoStore; for j:= 0 to Pred(TeamsArray[i]^.HedgehogsNumber) do