Skip to content

Commit

Permalink
Attempting to debug removal of the delay when a kart is first spawned
Browse files Browse the repository at this point in the history
  • Loading branch information
safalin1 committed Mar 10, 2024
1 parent 96799f5 commit 8c95181
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/data/microtf2/Minigames.txt
Original file line number Diff line number Diff line change
Expand Up @@ -275,7 +275,7 @@
{
"enabled" "0"
"BackgroundMusic" "gemidyne/warioware/{version}/minigames/bgm/airblast.mp3"
"EntryPoint" "Minigame33_EntryPoint"
"EntryPoint" "Minigame32_EntryPoint"
"BlockedSpecialRounds" "12"
"RequiresMultiplePlayers" "1"
"BackgroundMusic_Length" "3.874125"
Expand Down
1 change: 1 addition & 0 deletions src/scripting/Minigames/KartBump.sp
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ public void Minigame32_OnMinigameSelected(int client)
TeleportEntity(client, pos, ang, vel);
player.AddCondition(TFCond_HalloweenKart);
SetEntProp(player.ClientId, Prop_Send, "m_iKartHealth", 0);
SetEntPropFloat(player.ClientId, Prop_Send, "m_flKartNextAvailableBoost", 0.0);

SDKHook(client, SDKHook_PreThink, Minigame32_RemoveLeftClick);
}
Expand Down

0 comments on commit 8c95181

Please sign in to comment.