Skip to content

Commit

Permalink
Merge pull request #289 from KZGlobalTeam/dev
Browse files Browse the repository at this point in the history
Merging github workflow files
  • Loading branch information
zealain authored Mar 26, 2022
2 parents 33a3a49 + 618352c commit 7f98d4b
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@

>>> Make sure the destination branch of your pull request is `dev` and not `master`! <<<
(Please remove this message for your actual PR)

2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ env:
on:
push:
branches: [ master, dev ]
tags: [ 'v*' ]
tags: [ '*' ]
pull_request:
branches: [ master, dev ]

Expand Down
2 changes: 1 addition & 1 deletion addons/sourcemod/scripting/gokz-replays/playback.sp
Original file line number Diff line number Diff line change
Expand Up @@ -1155,7 +1155,7 @@ static void SetBotStuff(int bot)
GivePlayerItem(client, "weapon_knife");

// Give the bot the pistol stored in the replay
if (botWeapon[bot] != 0)
if (botWeapon[bot] != -1)
{
CS_WeaponIDToAlias(CS_ItemDefIndexToID(botWeapon[bot]), weaponName, sizeof(weaponName));
Format(weaponName, sizeof(weaponName), "weapon_%s", weaponName);
Expand Down

0 comments on commit 7f98d4b

Please sign in to comment.