From 0e4bc36d6b4d7aa273d5761144e9a40b2e1a2caa Mon Sep 17 00:00:00 2001 From: Lemongrass3110 Date: Wed, 30 Nov 2022 23:02:41 +0100 Subject: [PATCH] No points for autotraders! --- src/map/pc.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/map/pc.cpp b/src/map/pc.cpp index 55c4443e87..7ddccad913 100755 --- a/src/map/pc.cpp +++ b/src/map/pc.cpp @@ -10356,7 +10356,7 @@ bool pc_setparam(struct map_session_data *sd,int64 type,int64 val_tmp) } // If the system is enabled and the player can still earn some points restart the timer - if( battle_config.feature_goldpc_active && val < battle_config.feature_goldpc_max_points ){ + if( battle_config.feature_goldpc_active && val < battle_config.feature_goldpc_max_points && !sd->state.autotrade ){ sd->goldpc_tid = add_timer( gettick() + battle_config.feature_goldpc_time * 1000, pc_goldpc_update, sd->bl.id, (intptr_t)nullptr ); }