Request to deprecate/remove EventHandlers in GameInfo
Moderator: GZDoom Developers
-
- Posts: 3886
- Joined: Fri Feb 08, 2008 9:15 am
- Preferred Pronouns: She/Her
- Operating System Version (Optional): (btw I use) Arch
- Graphics Processor: nVidia with Vulkan support
- Location: Vigo, Galicia
Request to deprecate/remove EventHandlers in GameInfo
The use of this property in the GameInfo block instead of AddEventHandlers has caused me enough frustration with hard to debug issues that people report when loading multiple mods. I don't think a footnote in the wiki about the dangers of its misuse is helping much in this case.
-
- Lead GZDoom+Raze Developer
- Posts: 49115
- Joined: Sat Jul 19, 2003 10:19 am
- Location: Germany
Re: Request to deprecate/remove EventHandlers in GameInfo
I'd silently change it to act the same as addEventHandlers, so that the old mods continue to work but don't remove previous handlers.
-
- Posts: 3886
- Joined: Fri Feb 08, 2008 9:15 am
- Preferred Pronouns: She/Her
- Operating System Version (Optional): (btw I use) Arch
- Graphics Processor: nVidia with Vulkan support
- Location: Vigo, Galicia
Re: Request to deprecate/remove EventHandlers in GameInfo
That is a reasonable change as well, thank you.
-
-
- Posts: 1446
- Joined: Fri Dec 29, 2017 4:15 am
- Preferred Pronouns: He/Him
- Operating System Version (Optional): Manjaro Linux
- Location: Siberia (UTC+7)
Re: Request to deprecate/remove EventHandlers in GameInfo
Oddly enough, this was No'ed before: viewtopic.php?f=18&t=71426
Anyway, great to have it finally done. Thanks!
Anyway, great to have it finally done. Thanks!