mirror of
https://github.com/BeamMP/BeamMP-Server.git
synced 2026-05-19 08:00:31 +00:00
c5dff8b913
When adding elements to a table, the .add() function does not behave as expected in various cases, making it really shit and difficult to use. Instead, we keep our own index and just add one by one. It works, and it's easy to understand. This may lead to indices which are nil, i.e. non-fully-sequential tables, but I can't be asked to worry about it because that shouldn't be an issue when we use .set() everywhere.