mirror of
https://github.com/ineedbots/iw4_bot_warfare.git
synced 2025-04-22 13:55:43 +00:00
freeze bomb
This commit is contained in:
parent
91997120e8
commit
d4977f4764
@ -1727,8 +1727,7 @@ bot_use_bomb(bomb)
|
||||
|
||||
myteam = self.team;
|
||||
|
||||
self BotStopMoving(true);
|
||||
self _disableOffhandWeapons();
|
||||
self BotFreezeControls(true);
|
||||
|
||||
bomb [[bomb.onBeginUse]](self);
|
||||
|
||||
@ -1743,8 +1742,7 @@ bot_use_bomb(bomb)
|
||||
if (isDefined(self))
|
||||
{
|
||||
self.claimTrigger = undefined;
|
||||
self BotStopMoving(false);
|
||||
self _enableOffhandWeapons();
|
||||
self BotFreezeControls(false);
|
||||
}
|
||||
|
||||
bomb [[bomb.onEndUse]](myteam, self, (result == "bot_try_use_success"));
|
||||
|
Loading…
x
Reference in New Issue
Block a user