Opened 2 years ago

Closed 2 years ago

#2064 closed bug (fixed (in master))

set_pit_type sometimes (often) fails to produce a valid pit

Reported by: fizzix Owned by:
Milestone: Triage Keywords:


The function set_pit_type can fail to produce a valid pit which will cause a crash. This is averted by wrapping the function in a "while True" loop and only exiting when a valid pit has been created. The failure is very common in lair and gauntlet calls but extremely rare in generic pit calling.

set_pit_type() should be changed to always ensure a valid pit is chosen given the appropriate criteria, rather than the criteria being applied after.

Change History (1)

comment:1 Changed 2 years ago by nckmccnnll

  • Resolution set to fixed (in master)
  • Status changed from new to closed

Fixed in 90113a8c9

Note: See TracTickets for help on using tickets.