Skip to content

Commit

Permalink
Merge pull request #19 from Nord1cWarr1or/Nord1cWarr1or-patch-1
Browse files Browse the repository at this point in the history
player_prefs.sma: native_set_preference: fix hardcoded err num
  • Loading branch information
ufame authored Mar 4, 2024
2 parents 0956bb8 + 33e6db5 commit dfcc9bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripting/player_prefs.sma
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ public bool: native_set_preference(iPlugin, iArgs) {
return false;

if (!IsUserLoaded(iPlayer)) {
log_error(0, "Attempt to set preference for not loaded player (%d).", iPlayer);
log_error(AMX_ERR_NONE, "Attempt to set preference for not loaded player (%d).", iPlayer);
return false;
}

Expand Down

0 comments on commit dfcc9bf

Please sign in to comment.