Skip to content

Commit

Permalink
Fix networked ddr trying to subscribe to null inputManager
Browse files Browse the repository at this point in the history
  • Loading branch information
Fueredoriku committed Dec 23, 2024
1 parent 18ed182 commit 7e5bf67
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Assets/Scripts/Augment/AugmentImplementations/DDRBody.cs
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ public override void Start()
if (!gunController)
return;

if (gunController.Player)
if (gunController.Player && gunController.Player.inputManager)
{
inputManager = gunController.Player.inputManager;
inputManager.onFirePerformed += Fire;
Expand Down

0 comments on commit 7e5bf67

Please sign in to comment.