Skip to content

Commit

Permalink
Update offensive-core.pwn
Browse files Browse the repository at this point in the history
  • Loading branch information
NikitaFoxze authored Aug 18, 2024
1 parent fe78236 commit 957e9be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sources-omp/gamemodes/offensive-core.pwn
Original file line number Diff line number Diff line change
Expand Up @@ -1605,7 +1605,7 @@ public OnPlayerExitedMenu(playerid)

public OnPlayerClickTextDraw(playerid, Text:clickedid)
{
if(GetClickedID(clickedid) == INVALID_TEXT_DRAW) {
if(clickedid == INVALID_TEXT_DRAW) {
if(Adm_GetPlayerSpectating(playerid)) {
if(GetPlayerClickTD(playerid)) {
SetPlayerClickTD(playerid, false);
Expand Down

0 comments on commit 957e9be

Please sign in to comment.