MinoMino / minqlx

Extends Quake Live's dedicated server with extra functionality and scripting.
GNU General Public License v3.0
112 stars 42 forks source link

Setting handlers, only if it is required by plugins #125

Open mgaertne opened 1 year ago

mgaertne commented 1 year ago

I also added the handle_frame event (called once per server frame, i.e. 40 times per second by default) and made the proposed events hot_pluggable, only registered with the C-code if there is an actual plugin making use of it - and deregistering the event if the last plugin that makes use of it unloads.

re: https://github.com/MinoMino/minqlx/issues/124