Skip to content

Commit

Permalink
more fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
dwasint committed Sep 23, 2023
1 parent 9e9e919 commit 24a944a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion code/controllers/subsystem/mapping.dm
Original file line number Diff line number Diff line change
Expand Up @@ -484,7 +484,7 @@ Used by the AI doomsday and the self-destruct nuke.

/datum/controller/subsystem/mapping/proc/load_random_arena()
var/start_time = REALTIMEOFDAY
for(var/obj/effect/spawner/random_arena/arena_spawner as() in random_bar_spawners)
for(var/obj/effect/spawner/random_arena_spawner/arena_spawner as() in random_arena_spawners)
var/list/possible_arena_templates = list()
var/datum/map_template/random_room/random_arena/arena_candidate
shuffle_inplace(random_arena_templates)
Expand Down
5 changes: 3 additions & 2 deletions monkestation/code/modules/ghost_players/ghost_player.dm
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,9 @@

/mob/living/carbon/human/ghost/Destroy()
. = ..()
if(dueling)
linked_button?.end_duel(src)
if(dueling && linked_button)
addtimer(CALLBACK(linked_button, PROC_REF(end_duel), src), 3 SECONDS)

if(linked_button)
linked_button.remove_user(src)
linked_button = null
Expand Down

0 comments on commit 24a944a

Please sign in to comment.