Opened 3 years ago

Closed 3 years ago

#4302 closed defect (fixed)

[PATCH] Disable right-click playercommands to observers

Reported by: elexis Owned by: Imarok
Priority: Must Have Milestone: Alpha 22
Component: UI & Simulation Keywords: patch
Cc: Patch:

Description

While all buttons are disabled to observers, the rightclick actions in input.js miss an observer check. It still tries to execute the command when switching the playerperspective, thus f.e. play the soundfile of units moving, or setting the rallypoint visually, while posting the sim command silently fails.

Attachments (1)

disable_observer_rightclick_v1.patch (947 bytes) - added by elexis 3 years ago.

Download all attachments as: .zip

Change History (5)

Changed 3 years ago by elexis

comment:1 Changed 3 years ago by elexis

Also the Upgrade buttons need to be disabled to observers.

comment:2 Changed 3 years ago by Imarok

In 18926:

Disable right-click playercommands to observers. Patch by elexis. Refs #4302.

comment:3 Changed 3 years ago by Imarok

Keywords: review removed

comment:4 Changed 3 years ago by Imarok

Owner: set to Imarok
Resolution: fixed
Status: newclosed

In 18927:

Disable upgrade buttons to observers. Reviewed by elexis. Fixes #4302 Refs #2706

Note: See TracTickets for help on using tickets.