Skip to content

Commit

Permalink
Tactical reload on the move (#217)
Browse files Browse the repository at this point in the history
  • Loading branch information
Nihisohel committed Apr 6, 2024
1 parent 75a1a15 commit c91382d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/modules/projectiles/gun_helpers.dm
Original file line number Diff line number Diff line change
Expand Up @@ -312,7 +312,7 @@ DEFINES in setup.dm, referenced here.
var/tac_reload_time = 15
if(user.skills)
tac_reload_time = max(15 - 5*user.skills.get_skill_level(SKILL_FIREARMS), 5)
if(do_after(user,tac_reload_time, INTERRUPT_ALL, BUSY_ICON_FRIENDLY) && magazine.loc == old_mag_loc && !current_mag)
if(do_after(user,tac_reload_time, (INTERRUPT_ALL & (~INTERRUPT_MOVED)) , BUSY_ICON_FRIENDLY) && magazine.loc == old_mag_loc && !current_mag)
if(isstorage(magazine.loc))
var/obj/item/storage/master_storage = magazine.loc
master_storage.remove_from_storage(magazine)
Expand Down

0 comments on commit c91382d

Please sign in to comment.