Open Cuerzor opened 2 years ago
I cannot replicate this, it works perfectly fine on my end. Tested with the code below:
local TestMod = RegisterMod("Test Mod", 1)
local attemptSkip = false
function TestMod:InputSkip(_, hook, action)
if hook == InputHook.IS_ACTION_TRIGGERED then
if attemptSkip and action == ButtonAction.ACTION_MENUCONFIRM then
attemptSkip = false
print("Skipped!")
return true
end
end
end
TestMod:AddCallback(ModCallbacks.MC_INPUT_ACTION, TestMod.InputSkip)
function TestMod:CheckBoss()
local room = Game():GetRoom()
if room:GetType() == RoomType.ROOM_BOSS then
attemptSkip = true
end
end
TestMod:AddCallback(ModCallbacks.MC_POST_NEW_ROOM, TestMod.CheckBoss)
Also this boss versus screen will always make the online co-op desync