summaryrefslogtreecommitdiff
path: root/src/map/status.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/map/status.c')
-rw-r--r--src/map/status.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/map/status.c b/src/map/status.c
index bec04d668..f59375c69 100644
--- a/src/map/status.c
+++ b/src/map/status.c
@@ -1702,6 +1702,8 @@ int status_calc_pc(struct map_session_data* sd,int first)
sd->state.lr_flag = 2;
run_script(sd->inventory_data[index]->script,0,sd->bl.id,0);
sd->state.lr_flag = 0;
+ if (!calculating) //Abort, run_script retriggered status_calc_pc. [Skotlex]
+ return 1;
sd->arrow_atk += sd->inventory_data[index]->atk;
}
}