Permalink
Browse files

Fixed a bug where /customtax would show an ugly server error in case …

…you didn't own the airport instead of the neat messagebox.
  • Loading branch information...
xhoogland committed Feb 9, 2017
1 parent a647199 commit dc2702939ca41748abfbb50b9b58bc163fe785f4
Showing with 1 addition and 1 deletion.
  1. +1 −1 pawn/Resources/Callbacks/OnPlayer/OnPlayerCommandText.pwn
@@ -970,7 +970,7 @@ public OnPlayerCommandText(playerid, cmdtext[]) {
// Does the player own the airport?
if (endid != playerid)
return 0;
return 1;
// Have they used the correct params?
tmp = strtok(cmdtext, idx);

0 comments on commit dc27029

Please sign in to comment.