Remove class hardcode

This commit is contained in:
Shtoyan 2023-03-11 22:39:13 +04:00
parent 0d65944d4f
commit 67f3dd11ed

View File

@ -52,7 +52,7 @@ simulated function Tick(float delta) {
if (localPlayer == none) return;
myInteraction = ReportInteraction(localPlayer.interactionMaster
.AddInteraction("KFZedsReport.ReportInteraction", localPlayer));
.AddInteraction(string(class'ReportInteraction'), localPlayer));
if (myInteraction != none) {
myInteraction.reportMutator = self;
interactionAdded = true;