fishpondstudio / CivIdle

GNU General Public License v3.0
36 stars 79 forks source link

Tech unlock button now unlocks prerequisites #251

Closed jimmyh77 closed 3 months ago

insraq commented 3 months ago

I am not sure about this implementation. unlockPrerequisites has too many duplicated logic from unlock - ideally this should be implemented in a recursion to avoid copy pasta. Also, the unlock button needs to indicate whether it is unlockable.