Fixed desync of DInfinity and Forgotton States when pressing Drop button when the game is paused

fixes #952
This commit is contained in:
Wofsauge committed 2026-03-26 23:01:32 +01:00
1 parent c844ae571f
commit b2a17fe992
1 file changed
+1 -1
+1 -1
View File
@@ -1382,7 +1382,7 @@ function EID:OnRender()
-- Check for Drop being pressed, for Repentance D Infinity tracking
if EID.isRepentance then
local dropTriggered, playerNumPressingDrop = EID:PlayersActionPressed(ButtonAction.ACTION_DROP, Input.IsActionTriggered)
if dropTriggered then
if dropTriggered and not game:IsPaused() then
local playerPressingDrop = EID.coopMainPlayers[playerNumPressingDrop]
local playerID = EID:getPlayerID(playerPressingDrop, true)
local playerType = playerPressingDrop:GetPlayerType()