BZ Lib


Library code for BZ mods

Utilities
11 days ago
2.0
3.06K

b ✅ remove_prerequisite errors on empty prereq list

13 days ago

If a technology has no prerequisites and the remove_prerequisite function is called, the function errors out due to the empty table.
Changing line 786 to

if technology and technology.prerequisites then

fixes the issue. I'm not very good with lua, so there's probably a more elegant way to do this, but it works.

11 days ago

Fixed

10 days ago

Seems good, thank you!

New response