From 82979e32e0f0f40d819af77d9216b521bbc7976c Mon Sep 17 00:00:00 2001 From: Rafal Swierczek Date: Thu, 12 Oct 2023 12:01:18 +0100 Subject: [PATCH] Added Bounty Directors PC Landing Page Layout --- EndlessVendetta/Content/BountySystem/WBP_PC_Display.uasset | 4 ++-- .../Source/EndlessVendetta/BountySystem/BountyDirector.cpp | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/EndlessVendetta/Content/BountySystem/WBP_PC_Display.uasset b/EndlessVendetta/Content/BountySystem/WBP_PC_Display.uasset index 7c571e3c..eb52f6f8 100644 --- a/EndlessVendetta/Content/BountySystem/WBP_PC_Display.uasset +++ b/EndlessVendetta/Content/BountySystem/WBP_PC_Display.uasset @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:1667d1e4b109ae4cc17cb06726cce3314ff7f4528d0b6281d681a7f7c44abc87 -size 15998 +oid sha256:b5108f2d9e72c0c5935678a1fca2dda316472ca588e74e85fc321b9c7bf46933 +size 73724 diff --git a/EndlessVendetta/Source/EndlessVendetta/BountySystem/BountyDirector.cpp b/EndlessVendetta/Source/EndlessVendetta/BountySystem/BountyDirector.cpp index 4fa18855..f9f7a46e 100644 --- a/EndlessVendetta/Source/EndlessVendetta/BountySystem/BountyDirector.cpp +++ b/EndlessVendetta/Source/EndlessVendetta/BountySystem/BountyDirector.cpp @@ -202,7 +202,7 @@ void ABountyDirector::Interact() PlayerController->bEnableMouseOverEvents = true; UPC_Display* PC_Display = Cast(PC_DisplayWidget); - bool GameOver = IsValid(ActiveBounty); + bool GameOver = !IsValid(ActiveBounty); PC_Display->PC_Display_Info.IsGameOver = GameOver; if (GameOver) return;