mirror of
https://github.com/Refactorio/RedMew.git
synced 2025-01-18 03:21:47 +02:00
7c0867d08b
Changed the PriorityQueue to store the comparator function in a metatable to avoid serializing the comparator function to the global table. This means that the PriorityQueue has to be restored on load. Plus side is we can use comparators that are closures.