Skip to content

Commit

Permalink
Fix croaker downloads
Browse files Browse the repository at this point in the history
  • Loading branch information
Mikusch committed Dec 16, 2023
1 parent 0045f8d commit 1d013d7
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions addons/sourcemod/scripting/tfco_donations.sp
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
#define DONATION_API_TIME_FORMAT "%Y-%m-%dT%H:%M:%S"

#define CROAKER_MODEL "models/props_tfconnect/festive_2023/croaker_pickup.mdl"
#define CROAKER_SOUND ")tfconnect/croaker_pickup/croaker_pickup_01.mp3"
#define CROAKER_SOUND "tfconnect/croaker_pickup/croaker_pickup_01.mp3"

ConVar sm_tfco_donation_enabled;
ConVar sm_tfco_donation_debug;
Expand Down Expand Up @@ -95,7 +95,8 @@ public void OnMapStart()
AddFileToDownloadsTable("models/props_tfconnect/festive_2023/croaker_pickup/croaker_plush_nm.vtf");
AddFileToDownloadsTable("models/props_tfconnect/festive_2023/croaker_pickup/croaker_plush.vtf");

PrecacheSound(CROAKER_SOUND);
AddFileToDownloadsTable(CROAKER_SOUND);
PrecacheSound(")" ... CROAKER_SOUND);

ServerCommand("script_execute %s", DONATION_SCRIPT_FILE);
}
Expand Down

0 comments on commit 1d013d7

Please sign in to comment.