Opened 7 years ago

Closed 7 years ago

#4674 closed defect (fixed)

Unload owner hotkey broken Reference to undefined property garrisonHolders[0]

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

Description

Dunno what was selected. Occured on an extinct volcano game with Grugnas the brave.

WARNING: JavaScript warning: gui/session/input.js line 1766
reference to undefined property garrisonHolders[0]
WARNING: JavaScript warning: simulation/components/GuiInterface.js line 238
Script value conversion check failed: v.isNumber() (got type undefined)
ERROR: JavaScript error: gui/session/input.js line 1766
TypeError: GetEntityState(...) is null
  unloadAll@gui/session/input.js:1766:26
  __eventhandler168 (press)@__internal(37) press:0:1

Most likely broken by Phab:D648

Change History (1)

comment:1 by elexis, 7 years ago

Owner: set to elexis
Resolution: fixed
Status: newclosed

In 19909:

Fix JS error when pressing the unload key when not having selected a garrison holder.

Differential Revision: https://code.wildfiregames.com/D736
Fixes #4674
Patch By: bb

Note: See TracTickets for help on using tickets.