Skip to content

Commit

Permalink
autowiki gun images now stop randomly changing attachments (#6678)
Browse files Browse the repository at this point in the history
title

no player facing changes
  • Loading branch information
harryob committed Jul 16, 2024
1 parent e7750dc commit 84aa637
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions code/modules/projectiles/gun.dm
Original file line number Diff line number Diff line change
Expand Up @@ -427,6 +427,10 @@
SEND_SIGNAL(src, COMSIG_GUN_RECALCULATE_ATTACHMENT_BONUSES)

/obj/item/weapon/gun/proc/handle_random_attachments()
#ifdef AUTOWIKI // no randomness for my gun pictures, please
return
#endif

var/attachmentchoice

var/randchance = random_spawn_chance
Expand Down

0 comments on commit 84aa637

Please sign in to comment.