Skip to content

Commit 091ee6c

Browse files
committed
Nevermind, needs to be in root scope
1 parent 8dec4df commit 091ee6c

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

addons/sourcemod/scripting/tfco_donations.sp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -97,8 +97,7 @@ public void OnMapStart()
9797

9898
AddFileToDownloadsTable("sound/" ... CROAKER_SOUND);
9999

100-
SetVariantString(DONATION_SCRIPT_FILE);
101-
AcceptEntityInput(0, "RunScriptFile");
100+
ServerCommand("script_execute %s", DONATION_SCRIPT_FILE);
102101
}
103102

104103
public void OnConfigsExecuted()

0 commit comments

Comments
 (0)