Open Foks256 opened 2 years ago
So instead of doing this:
mod:AddCallback(ModCallbacks.MC_POST_NEW_ROOM, function() local room = Game():GetRoom() if room:IsClear() then print("nice") end end)
We could do something like this:
mod:AddCallback(ModCallbacks.MC_POST_NEW_ROOM, function(_, room) if room:IsClear() then print("nice") end end)
So instead of doing this:
We could do something like this: