Термалки (#466)

* - add: Rewrite night vision.

* - add: Thermals.

* - remove: Remove stuff from maps.

* - fix: Descriptions.
This commit is contained in:
Aviu00
2024-07-19 16:27:01 +00:00
committed by GitHub
parent 42b4aa4cef
commit 781e266fc2
36 changed files with 514 additions and 138 deletions

View File

@@ -121,7 +121,7 @@ public sealed partial class MeleeWeaponSystem : SharedMeleeWeaponSystem
if (_stateManager.CurrentState is GameplayStateBase screen)
{
target = screen.GetClickedEntity(mousePos);
target = screen.GetDamageableClickedEntity(mousePos); // WD EDIT
}
EntityManager.RaisePredictiveEvent(new DisarmAttackEvent(GetNetEntity(target), GetNetCoordinates(coordinates)));
@@ -169,7 +169,7 @@ public sealed partial class MeleeWeaponSystem : SharedMeleeWeaponSystem
if (_stateManager.CurrentState is GameplayStateBase screen)
{
target = screen.GetClickedEntity(mousePos);
target = screen.GetDamageableClickedEntity(mousePos); // WD EDIT
}
// Don't light-attack if interaction will be handling this instead