Skip to content

Commit

Permalink
[MIRROR] Prevents npcs from making progress bars (#2737)
Browse files Browse the repository at this point in the history
* Prevents npcs from making progress bars (#82413)

## About The Pull Request
A lot of lavaland mobs constantly make progress bars. Discovered this
while working on another PR.


![image](https://github.com/tgstation/tgstation/assets/42397676/2fc57cff-7e7e-46ea-8956-83c4ba44c69b)

Put a breakpoint in progressbar/New to see what I mean.
## Why It's Good For The Game
They can't even see them. Why are we making these? In case someone swaps
in? That seems a bit too rare to justify this
## Changelog
N/A literally nothing player facing

* Prevents npcs from making progress bars

---------

Co-authored-by: NovaBot <[email protected]>
Co-authored-by: Jeremiah <[email protected]>
Co-authored-by: Bloop <[email protected]>
  • Loading branch information
4 people authored Apr 4, 2024
1 parent a4015b9 commit 1b7ea84
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion code/__HELPERS/mobs.dm
Original file line number Diff line number Diff line change
Expand Up @@ -281,7 +281,8 @@ GLOBAL_LIST_EMPTY(species_list)

var/datum/progressbar/progbar
if(progress)
progbar = new(user, delay, target || user)
if(user.client)
progbar = new(user, delay, target || user)

SEND_SIGNAL(user, COMSIG_DO_AFTER_BEGAN)

Expand Down

0 comments on commit 1b7ea84

Please sign in to comment.