GenieClient / genie3

This Organization of Genie Client is a Community focused development of Conny's Open Source Version of GenieClient
GNU General Public License v3.0
4 stars 2 forks source link

cyclic includes crash genie #22

Open scottr1634 opened 2 years ago

scottr1634 commented 2 years ago

Cyclic includes are easy to do by mistake and are helpful in some situations, but they cause genie to crash. Need to track includes in a list and skip over includes we've already performed.

Simple example: a.cmd includes b.cmd which includes a.cmd

Real world example: stow.cmd includes unload.cmd for when you try to stow a loaded bow but unload.cmd includes stow.cmd for after you have unloaded to clear hands.

mj-colonel-panic commented 2 years ago

The fix for this is in the repo and it will be in the next build