tapahob / BG2RadarOverlay

An overlay program for Baldurs Gate EE (1, 2) showing nearest enemies, their resistances, buffs and its durations
MIT License
25 stars 3 forks source link

[Fix] Create the instance of OptionsControl after initializing PH #35

Closed LionAG closed 1 year ago

LionAG commented 1 year ago

This pull request fixes an oversight introduced in one of my previous PR. The creation of OptionsControl requires successful initialization of the Configuration object which is initialized in the ProcessHacker.Init method.

The creation of the object has been moved into constructor after calling _processHacker.Init.