Skip to content

Commit

Permalink
Fixes concurrent XRF setup bricking it
Browse files Browse the repository at this point in the history
  • Loading branch information
fira committed Dec 26, 2023
1 parent 948e300 commit 34d988e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions code/modules/reagents/chemistry_machinery/reagent_analyzer.dm
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,9 @@
updateUsrDialog()
if(!do_after(user, 1 SECONDS, INTERRUPT_ALL, BUSY_ICON_GENERIC))
return
if(!sample)
to_chat(user, SPAN_WARNING("Someone else removed the sample. Make up your mind!"))
return
processing = TRUE
if(sample.reagents.total_volume < 30 || sample.reagents.reagent_list.len > 1)
icon_state = "reagent_analyzer_error"
Expand Down

0 comments on commit 34d988e

Please sign in to comment.