Skip to content

Commit

Permalink
fix mounted guns and a message typo
Browse files Browse the repository at this point in the history
  • Loading branch information
Lumipharon committed Jun 30, 2024
1 parent 370e548 commit d3f7271
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions code/modules/projectiles/gun_system.dm
Original file line number Diff line number Diff line change
Expand Up @@ -723,6 +723,8 @@
if(gun_user.get_active_held_item() == src)
active_attachable?.start_fire(source, object, location, control, params, bypass_checks)
return
if(gun_user.get_inactive_held_item() != src)
return
if(gun_user.Adjacent(object))
return
bypass_checks = TRUE
Expand Down
2 changes: 1 addition & 1 deletion code/modules/projectiles/mounted.dm
Original file line number Diff line number Diff line change
Expand Up @@ -277,7 +277,7 @@
setDir(angle)
user.set_interaction(src)
playsound(loc, 'sound/items/ratchet.ogg', 25, 1)
operator.visible_message("[operator] rotates the [src].","You rotate the [src].")
operator.visible_message("[operator] rotates the [src].","You rotate [src].")
update_pixels(user, TRUE)

if(current_scope?.deployed_scope_rezoom)
Expand Down

0 comments on commit d3f7271

Please sign in to comment.