Opened 4 years ago

Last modified 4 years ago

#5746 new defect

Training hotkey for the eigth unit doesn't work

Reported by: Stan Owned by:
Priority: Should Have Milestone: Backlog
Component: UI – In-game Keywords:
Cc: Patch: Phab:D1362

Description

The game advertises the training hotkey for the eigth unit to be comma, however pressing that key does nothing. It is because in gui\session\hotkeys\training.xml there is no code to handle it.

Simple solution is to add

	<!-- queue 8th unit in the training queue  -->
	<object hotkey="session.queueunit.8	">
		<action on="Press">addTrainingByPosition(7);</action>
	</object>

Better solution is to rewrite that code to use the Oriented Object paradigm.

Change History (1)

comment:1 by elexis, 4 years ago

Component: Core engineUI – In-game
Keywords: simple removed
Patch: Phab:D1362
Note: See TracTickets for help on using tickets.