Reset flag velocity on pickup
This commit is contained in:
ChocoTaco1 2022-07-15 16:28:01 -04:00
parent 43875c56dc
commit b44b5444bd
3 changed files with 3 additions and 0 deletions

View file

@ -722,6 +722,7 @@ function SCtFGame::playerTouchEnemyFlag(%game, %player, %flag)
%flag.hide(true);
%flag.startFade(0, 0, false);
%flag.isHome = false;
%flag.setVelocity("0 0 0");
if(%flag.stand)
%flag.stand.getDataBlock().onFlagTaken(%flag.stand);//animate, if exterior stand