From 368a68a7e20d106dd98a16828b14de305b2f7085 Mon Sep 17 00:00:00 2001 From: Rafal Swierczek Date: Fri, 3 Nov 2023 17:32:59 +0000 Subject: [PATCH] Fixed Crashes Caused By Destroying InValid Characters For Some Gadget Tutorials --- .../GadgetTutorial/Combat/GT_OverloadModule.uasset | 4 ++-- .../Checkpoints/GadgetTutorial/Recon/GT_RingModule.uasset | 4 ++-- EndlessVendetta/Content/Levels/TrainingFacility.umap | 4 ++-- .../Content/StarterContent/Particles/P_Ambient_Dust.uasset | 2 +- .../GadgetSystem/GadgetTutorial/GadgetTutorialStation.cpp | 2 +- 5 files changed, 8 insertions(+), 8 deletions(-) diff --git a/EndlessVendetta/Content/BountySystem/TutorialFacility/Checkpoints/GadgetTutorial/Combat/GT_OverloadModule.uasset b/EndlessVendetta/Content/BountySystem/TutorialFacility/Checkpoints/GadgetTutorial/Combat/GT_OverloadModule.uasset index 00e68a24..7ab35daf 100644 --- a/EndlessVendetta/Content/BountySystem/TutorialFacility/Checkpoints/GadgetTutorial/Combat/GT_OverloadModule.uasset +++ b/EndlessVendetta/Content/BountySystem/TutorialFacility/Checkpoints/GadgetTutorial/Combat/GT_OverloadModule.uasset @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:78b31bab14e954676ba284008883efc5cb8e38e6a409c28398ca0dd1b2728d44 -size 127154 +oid sha256:c3f7370adadacaa691397522121b6c975e922c007eba7b08420598f3cb906fdb +size 143122 diff --git a/EndlessVendetta/Content/BountySystem/TutorialFacility/Checkpoints/GadgetTutorial/Recon/GT_RingModule.uasset b/EndlessVendetta/Content/BountySystem/TutorialFacility/Checkpoints/GadgetTutorial/Recon/GT_RingModule.uasset index 2abaff57..c361a44b 100644 --- a/EndlessVendetta/Content/BountySystem/TutorialFacility/Checkpoints/GadgetTutorial/Recon/GT_RingModule.uasset +++ b/EndlessVendetta/Content/BountySystem/TutorialFacility/Checkpoints/GadgetTutorial/Recon/GT_RingModule.uasset @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:ebdb0c50533782ed9c0032b9a6c024f3caa7e9b6edc55382f07290a31f9de193 -size 127075 +oid sha256:029257b219ada12742b0a16af98a8904c477cd27345d9997c9a3fc79d1327117 +size 144242 diff --git a/EndlessVendetta/Content/Levels/TrainingFacility.umap b/EndlessVendetta/Content/Levels/TrainingFacility.umap index dd91bb32..96d1e37e 100644 --- a/EndlessVendetta/Content/Levels/TrainingFacility.umap +++ b/EndlessVendetta/Content/Levels/TrainingFacility.umap @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:f2f2fc1c70fab74da6d68febd45bea94d52ebee5b599aedc349f2c659fb99ac6 -size 607294 +oid sha256:62157039ed6eedf1be5cc14450e620e5df74fac88d040047ee7ad0f45f5adb60 +size 607293 diff --git a/EndlessVendetta/Content/StarterContent/Particles/P_Ambient_Dust.uasset b/EndlessVendetta/Content/StarterContent/Particles/P_Ambient_Dust.uasset index 2fb1db9f..212caa8d 100644 --- a/EndlessVendetta/Content/StarterContent/Particles/P_Ambient_Dust.uasset +++ b/EndlessVendetta/Content/StarterContent/Particles/P_Ambient_Dust.uasset @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:a9258d613d6e6c5ee7942fb18d59fcaa0c732d91827a10b3b068d1255dd4f271 +oid sha256:48387baadfbb75fbde16ef54415b0e3c8d56fa91b73c4e6acc410ee9d83c1456 size 53268 diff --git a/EndlessVendetta/Source/EndlessVendetta/GadgetSystem/GadgetTutorial/GadgetTutorialStation.cpp b/EndlessVendetta/Source/EndlessVendetta/GadgetSystem/GadgetTutorial/GadgetTutorialStation.cpp index 0adb8cb0..5da28ffc 100644 --- a/EndlessVendetta/Source/EndlessVendetta/GadgetSystem/GadgetTutorial/GadgetTutorialStation.cpp +++ b/EndlessVendetta/Source/EndlessVendetta/GadgetSystem/GadgetTutorial/GadgetTutorialStation.cpp @@ -88,7 +88,7 @@ void AGadgetTutorialStation::SelectGadget() { // Eventually expand to give player feedback of being denied if changing gadgets fails if (!EndlessVendettaCharacter->UpdateGadgetType(GadgetsArray[GadgetIndex])) return; - + if (IsValid(CurrentGadgetTutorial)) CurrentGadgetTutorial->DestroyTutorial(); FActorSpawnParameters SpawnParams;