Skip to content

Commit

Permalink
[MIRROR] [no gbp] Loot panel subsystem initializes now (#2025)
Browse files Browse the repository at this point in the history
* [no gbp] Loot panel subsystem initializes now (#82680)

## About The Pull Request
Confusing error message at loading screen


![image](https://github.com/tgstation/tgstation/assets/42397676/850e5f97-f319-4f4d-b49a-ff90bb527aa8)
## Why It's Good For The Game
Less confusing
## Changelog
:cl:
fix: CentCom dispatched a team of interns to fix the loot panel's
loading message. It should now load properly. It did before too, but now
the message is fixed.
/:cl:

---------

Co-authored-by: MrMelbert <[email protected]>

* [no gbp] Loot panel subsystem initializes now

---------

Co-authored-by: Jeremiah <[email protected]>
Co-authored-by: MrMelbert <[email protected]>
  • Loading branch information
3 people authored and StealsThePRs committed Apr 16, 2024
1 parent e9d45ba commit 55f039e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
1 change: 0 additions & 1 deletion code/__DEFINES/subsystems.dm
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,6 @@
#define INIT_ORDER_PATH -50
#define INIT_ORDER_DECAY -61 //NOVA EDIT ADDITION
#define INIT_ORDER_EXPLOSIONS -69
#define INIT_ORDER_LOOT -70
#define INIT_ORDER_STATPANELS -97
#define INIT_ORDER_BAN_CACHE -98
#define INIT_ORDER_INIT_PROFILER -99 //Near the end, logs the costs of initialize
Expand Down
5 changes: 3 additions & 2 deletions code/modules/lootpanel/ss_looting.dm
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,9 @@
/// Queues image generation for search objects without icons
SUBSYSTEM_DEF(looting)
name = "Loot Icon Generation"
init_order = INIT_ORDER_LOOT
flags = SS_NO_INIT
priority = FIRE_PRIORITY_PROCESS
runlevels = RUNLEVEL_LOBBY|RUNLEVELS_DEFAULT
wait = 0.5 SECONDS
/// Backlog of items. Gets put into processing
var/list/datum/lootpanel/backlog = list()
Expand Down Expand Up @@ -32,7 +33,7 @@ SUBSYSTEM_DEF(looting)

if(!panel.process_images())
backlog += panel

if(MC_TICK_CHECK)
return

Expand Down

0 comments on commit 55f039e

Please sign in to comment.