Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[MIRROR] Cache heretic delusion icon so it doesn't call
getFlatIcon
…
… li ke 600 times a life tick or something (#366) * Cache heretic delusion icon so it doesn't call `getFlatIcon` li ke 600 times a life tick or something (#80842) Heretic's weeping painting causes everyone who sees it to hallucinate everyone else as heretics. So it caused this hallucination every 5 life ticks. Which means every 5 life ticks it would call GFI for every mob in view. And like everyone on the station would get this effect. So everyone on the station is now hallucinating every mob in view is a heretic and it's calling GFI every time. So yeah we should probably cache this. * Cache heretic delusion icon so it doesn't call `getFlatIcon` li ke 600 times a life tick or something --------- Co-authored-by: MrMelbert <[email protected]> Co-authored-by: NovaBot <[email protected]>
- Loading branch information