Ben1138 / SWBF2Phoenix

A re-implementation of the old Star Wars Battlefront II (2005) game, utilizing the Unity game engine
GNU Affero General Public License v3.0
73 stars 12 forks source link

Fix Lua Runtime Callback pool #6

Open Ben1138 opened 2 years ago

Ben1138 commented 2 years ago

Having just a fixed amount of Lua callbacks available could lead to broken Lua behaviour for maps using more than 200.

What I can think of right now:

Also, ensure all callbacks are indeed removed when the Environment gets deleted!

grafik

grafik