fixed kick history stack direction

This commit is contained in:
Cheese 2015-11-21 11:42:59 +11:00
parent 02d09f2843
commit 5b8191e57c

View File

@ -217,7 +217,7 @@ public class Ball
//Record
_lastKickTeam = _host.GetTeam(player);
_kickHistory.add(new KickLog(player, _lastKickTeam));
_kickHistory.add(0, new KickLog(player, _lastKickTeam));
//Ignore Rebound
_ignoreReboundForTick = true;
@ -409,7 +409,7 @@ public class Ball
//Record
_lastKickTeam = _host.GetTeam(player);
_kickHistory.add(new KickLog(player, _lastKickTeam));
_kickHistory.add(0, new KickLog(player, _lastKickTeam));
//Ignore Rebound
_ignoreReboundForTick = true;