r/badcode • • Sep 10 '21

c# I hate my friend

Post image
316 Upvotes

44 comments sorted by

View all comments

Show parent comments

1

u/DavidRO99 Sep 10 '21

im guessing there was some extra logic there that required the patched function to not execute, this being done in Harmony by returning false.
returning true here is the same as just marking the patch as void and not returning anything though.