Skip to content

Unable to select units/buildings after force firing outside the game with a unit with cursorlock disabled #2734

@DrGoldFish1

Description

@DrGoldFish1

Prerequisites

  • I have searched for similar issues and confirmed this is not a duplicate

Game Version

  • Command & Conquer Generals
  • Command & Conquer Generals: Zero Hour
  • Other (please specify below)

Bug Description

When you select an army and try to force fire the ground but you by accident click outside the game cause of cursor lock being disabled and you return to the game you will experience 1 of the 2 situations or both. (does not happen with alt+tab)

  1. The Ctrl button will stay active so everywhere you click the army will force fire.
  2. You wont be able to select buildings or units at all but you can still use promotions

Both of these issues can be solved by pressing ctrl again.

Reproduction Steps

  1. Start the game with cursorlock turned off
  2. Select an army
  3. Hold CTRL when clicking outside the game like a second monitor
  4. Return to the game and click on the ground units will keep firing
  5. if you deselect the army using right click you wont be able to select any units or buildings
  6. press CTRL to fix the issue

Additional Context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugSomething is not working right, typically is user facing⚠️ TriageIssues requiring initial review and prioritization

    Type

    No fields configured for Bug.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions