minor fixes
This commit is contained in:
parent
bbec3cdc58
commit
2f564a29fa
2 changed files with 3 additions and 3 deletions
|
@ -93,7 +93,7 @@ namespace ZoFo.GameCore.GameObjects
|
||||||
}
|
}
|
||||||
public void EndAttack(string a)
|
public void EndAttack(string a)
|
||||||
{
|
{
|
||||||
if (AppManager.Instance.gamestate != GameState.HostPlaying) return;
|
if (AppManager.Instance.server is null) return;
|
||||||
var damagedPlayers=AppManager.Instance.server.collisionManager.GetPlayersInZone(collisionComponent.triggerRectangle.SetOrigin(position));
|
var damagedPlayers=AppManager.Instance.server.collisionManager.GetPlayersInZone(collisionComponent.triggerRectangle.SetOrigin(position));
|
||||||
//TODO ДАМАЖИТЬ ИГРОКОВ В ЗОНЕ
|
//TODO ДАМАЖИТЬ ИГРОКОВ В ЗОНЕ
|
||||||
if (damagedPlayers.Length>0) { DebugHUD.DebugLog("End of" + a);
|
if (damagedPlayers.Length>0) { DebugHUD.DebugLog("End of" + a);
|
||||||
|
|
|
@ -119,8 +119,8 @@ public class Player : LivingEntity
|
||||||
break;
|
break;
|
||||||
case ScopeState.Right:
|
case ScopeState.Right:
|
||||||
case ScopeState.Left:
|
case ScopeState.Left:
|
||||||
if (idName != "player_look_right")
|
if (idName != "player_look_right_down_weapon")
|
||||||
StartAnimation("player_look_right");
|
StartAnimation("player_look_right_down_weapon");
|
||||||
break;
|
break;
|
||||||
case ScopeState.TopRight:
|
case ScopeState.TopRight:
|
||||||
case ScopeState.TopLeft:
|
case ScopeState.TopLeft:
|
||||||
|
|
Loading…
Add table
Reference in a new issue