-
Notifications
You must be signed in to change notification settings - Fork 1
Menu doesn't find *.lua files *Solved #4
Comments
If you think just by saying "it doesn't work, fix" will help the developer, then you're wrong. Include console logs and anything you can to help resolve your issue. |
I wrote a test - it finds my lua files if you change Seems the asterisk is doing something bad |
Maybe the first result is a directory like .. or . |
Hi, I fixed this by changing the imgui ScriptItemSelector at By swapping the string * vec cast to a wstring I also .clear() the found_scripts vec. otse@92382b1#diff-9d1c756acfaa20c8de46590a71f6be80 One bug remains that it skips the first found file. E.g. if you have a, b, c, d.lua, it will skip a.lua |
I've never used these Windows functions, but I think your loop uses FindNextFile too quickly. A do-while would do better here.
|
https://github.com/Force67/DawnHook/blob/master/code/dawnhook/Menu.cpp#L97
This func somehow fails
The text was updated successfully, but these errors were encountered: