Browse Source

Remove class hardcode

dev
Shtoyan 2 years ago
parent
commit
67f3dd11ed
  1. 2
      Classes/KFZedsReportMut.uc

2
Classes/KFZedsReportMut.uc

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

Loading…
Cancel
Save