fix gradient selection (#17277)

* fix gradient selection

* fix blood, fix pregame spawn
This commit is contained in:
Kashargul
2025-03-07 11:26:21 +01:00
committed by GitHub
parent 827a515820
commit 32e5fa7a0d
3 changed files with 27 additions and 3 deletions
@@ -1329,9 +1329,8 @@
var/datum/mob_descriptor/descriptor = species.descriptors[desctype]
descriptors[desctype] = descriptor.default_value
//This was the old location of initialize_vessel. A race condiiton happened here because of species code being JANK. This resulted in runtimes during unit test, but worked perfectly fine in game.
//Now, initialize_vessel has been moved to human/Initialize()
// addtimer(CALLBACK(src, PROC_REF(initialize_vessel)), 0, TIMER_DELETE_ME) //Doing ASYNC fails here. This used to be a spawn(0)
if(vessel)
initialize_vessel()
// Rebuild the HUD. If they aren't logged in then login() should reinstantiate it for them.
update_hud()
@@ -179,6 +179,9 @@
new_player_panel_proc()
if(href_list["observe"])
if(!SSticker || SSticker.current_state == GAME_STATE_INIT)
to_chat(src, span_warning("The game is still setting up, please try again later."))
return 0
if(tgui_alert(src,"Are you sure you wish to observe? If you do, make sure to not use any knowledge gained from observing if you decide to join later.","Observe Round?",list("Yes","No")) == "Yes")
if(!client) return 1