Small changes

- Small changes
- Added `ru` and `pt-br` lang
This commit is contained in:
Dawid Bepierszcz
2024-02-14 01:53:13 +01:00
parent 64803ebff2
commit 8e1a1b2ecf
24 changed files with 115 additions and 122 deletions

View File

@@ -41,7 +41,7 @@ public static class PlayerExtensions
public static void SetHp(this CCSPlayerController controller, int health = 100)
{
if (health <= 0 || !controller.PawnIsAlive || controller.PlayerPawn.Value == null) return;
controller.PlayerPawn.Value.Health = health;
if (health > 100)
@@ -140,7 +140,6 @@ public static class PlayerExtensions
target.PlayerPawn.Value.AbsRotation,
target.PlayerPawn.Value.AbsVelocity
);
}
}