]> git.smokeofanarchy.ru Git - space-station-14.git/commit
Set input coords to invalid if mouse off-screen (#30164)
authormetalgearsloth <31366439+metalgearsloth@users.noreply.github.com>
Sun, 21 Jul 2024 06:13:28 +0000 (16:13 +1000)
committerGitHub <noreply@github.com>
Sun, 21 Jul 2024 06:13:28 +0000 (02:13 -0400)
commitaca878c9f753538d64372f380df536098701f747
treeeaac79987710143dd149802903bb63c975e75fe1
parent2c8dd58ad8a673f8905f5a426a37009f29462dea
Set input coords to invalid if mouse off-screen (#30164)

This may be a breaking change for some stuff, I only tested basic combat stuff + throwing.

This fixes the coordinates setting an off-screen position to the top-left pixel and blocks throw attempts as a result.
Content.Client/Gameplay/GameplayStateBase.cs
Content.Server/Hands/Systems/HandsSystem.cs