mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-21 20:11:04 +01:00
Abstract New_Player Hard Del Fix (#22270)
Fixes a HardDel() related to players joining too quickly when entering the server, and also just when latejoining in general (wtf)
This commit is contained in:
@@ -12,7 +12,7 @@
|
||||
GLOB.player_list |= src
|
||||
|
||||
client.playtitlemusic()
|
||||
addtimer(CALLBACK(src, PROC_REF(show_lobby_info)), 5 SECONDS)
|
||||
addtimer(CALLBACK(src, PROC_REF(show_lobby_info)), 5 SECONDS, TIMER_STOPPABLE | TIMER_DELETE_ME)
|
||||
|
||||
/mob/abstract/new_player/proc/show_lobby_info()
|
||||
if(!client)
|
||||
|
||||
@@ -35,7 +35,7 @@ INITIALIZE_IMMEDIATE(/mob/abstract/new_player)
|
||||
stack_trace("The map is supposedly loaded, but GLOB.lobby_mobs_location is not set, unable to move the lobby mob!")
|
||||
return
|
||||
|
||||
addtimer(CALLBACK(src, PROC_REF(attempt_moving_new_player_on_marker_turf)), 5 SECONDS)
|
||||
addtimer(CALLBACK(src, PROC_REF(attempt_moving_new_player_on_marker_turf)), 5 SECONDS, TIMER_STOPPABLE | TIMER_DELETE_ME)
|
||||
|
||||
/mob/abstract/new_player/Destroy()
|
||||
QDEL_NULL(late_choices_ui)
|
||||
|
||||
Reference in New Issue
Block a user