Skip to content

Commit

Permalink
Fix some runtimes
Browse files Browse the repository at this point in the history
  • Loading branch information
SuhEugene authored Nov 16, 2023
1 parent 0de5d79 commit 6827052
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion mods/ex666_ecosystem/code/experience/subsystem.dm
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ SUBSYSTEM_DEF(experience)

for (var/client/client as anything in clients_to_process)
// If a client logs out in the middle of this or has no mob or mind
if(!client || !client.mob || !client.mob.mind)
if(!client || !client.mob || !client.mob.mind || !select_queries[client.ckey])
clients_to_process.Remove(client)
continue

Expand Down
3 changes: 3 additions & 0 deletions mods/lobbyscreen/code/lobby.dm
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@
update_titlescreen(player.client)

/datum/map/proc/update_titlescreen(client/C)
if (isnull(C))
return

var/state = Master.current_runlevel || 0
var/mob/new_player/player = C.mob
send_output(C, "[state]-[player.ready]", "lobbybrowser:setStatus")
Expand Down

0 comments on commit 6827052

Please sign in to comment.