Hotfix: Camera offset for "Separated Chat" HUD fix & targetting fix (#35087)
* Initial commit * Fix everything * Comment and remove unused dependencies * Update comments for consistency --------- Co-authored-by: PJB3005 <pieterjan.briers+git@gmail.com>
This commit is contained in:
@@ -29,7 +29,10 @@ public sealed class WieldableSystem : SharedWieldableSystem
|
||||
return;
|
||||
|
||||
if (_gameTiming.IsFirstTimePredicted)
|
||||
{
|
||||
cursorOffsetComp.CurrentPosition = Vector2.Zero;
|
||||
cursorOffsetComp.TargetPosition = Vector2.Zero;
|
||||
}
|
||||
}
|
||||
|
||||
public void OnGetEyeOffset(Entity<CursorOffsetRequiresWieldComponent> entity, ref HeldRelayedEvent<GetEyeOffsetRelayedEvent> args)
|
||||
|
||||
Reference in New Issue
Block a user