Microoptimizations after code review

This commit is contained in:
Daniel committed 2021-07-12 22:05:54 +02:00
1 parent a939e11641
commit f9ef2ebbe1
9 files changed
+27 -30

No files matched your search

@@ -1,6 +1,6 @@
function save_crafts(event)
if event.player_index then
local player = game.players[event.player_index]
local player = game.get_player(event.player_index)
local crafting_queue = {}
-- Avoid overwriting old save