Fixed desync of DInfinity and Forgotton States when pressing Drop button when the game is paused
fixes #952
This commit is contained in:
1 parent
c844ae571f
commit
b2a17fe992
1 file changed
+1
-1
@@ -1382,7 +1382,7 @@ function EID:OnRender()
|
|||||||
-- Check for Drop being pressed, for Repentance D Infinity tracking
|
-- Check for Drop being pressed, for Repentance D Infinity tracking
|
||||||
if EID.isRepentance then
|
if EID.isRepentance then
|
||||||
local dropTriggered, playerNumPressingDrop = EID:PlayersActionPressed(ButtonAction.ACTION_DROP, Input.IsActionTriggered)
|
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 playerPressingDrop = EID.coopMainPlayers[playerNumPressingDrop]
|
||||||
local playerID = EID:getPlayerID(playerPressingDrop, true)
|
local playerID = EID:getPlayerID(playerPressingDrop, true)
|
||||||
local playerType = playerPressingDrop:GetPlayerType()
|
local playerType = playerPressingDrop:GetPlayerType()
|
||||||
|
|||||||
Reference in new issue
Block a user