Skip to content

Commit

Permalink
Fix: replace old missed destruction code with a new proc (#709)
Browse files Browse the repository at this point in the history
# Описание

Fix ПР с autodestractorom. Удалил старый код который вызывал залипание в
окне обновления консоли

:cl:
bugfix: Фикс автодестрактора
/:cl:
  • Loading branch information
Lexanx authored Jan 15, 2024
1 parent 0f9fe4c commit fa56e3e
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions code/modules/research/rdconsole.dm
Original file line number Diff line number Diff line change
Expand Up @@ -273,10 +273,7 @@ won't update every console in existence) but it's more of a hassle to do. Also,
if(alert("Proceeding will destroy loaded item. Continue?", "Destructive analyzer confirmation", "Yes", "No") == "No")
return TOPIC_HANDLED
CHECK_DESTROY
linked_destroy.busy = 1
screen = 0.1
flick("d_analyzer_process", linked_destroy)
addtimer(CALLBACK(src, .proc/finish_deconstruct, weakref(user)), 24)
deconstruct(weakref(usr))

else if(href_list["lock"]) //Lock the console from use by anyone without tox access.
if(allowed(usr))
Expand Down

0 comments on commit fa56e3e

Please sign in to comment.