Ради вашего удобства наш сайт использует cookies! Узнать больше! Мы используем cookies

PZAPI Patch

A patch for PZAPI/ModOptions that fixes the [APPLY] logic for menu options. Enables changes to options for mods to be updated as soon as you click [APPLY]. With this patch any mod using PZAPI can now just define a function called options:apply() and it will fire the **exact moment** the user hits "Apply" or "Accept" in the Main Menu. * Guaranteed Timing: It fires after PZAPI has finished saving the .ini file but before the menu closes. * No Performance Hit: Since it's a direct function call inside the save loop, it's much faster than the engine searching for listeners to a global event. * Encapsulation: Your mod's options logic stays self-contained within the options object. Workshop ID: 3698931252 Mod ID: PZAPI_APPLY_PATCH