mirror of
https://github.com/SPLURT-Station/S.P.L.U.R.T-Station-13.git
synced 2025-12-10 09:54:52 +00:00
Update destructive_analyzer.dm
This commit is contained in:
@@ -121,18 +121,11 @@ Note: Must be placed within 3 tiles of the R&D Console
|
||||
return FALSE
|
||||
if(QDELETED(loaded_item) || QDELETED(linked_console) || !user.Adjacent(linked_console) || QDELETED(src))
|
||||
return FALSE
|
||||
<<<<<<< HEAD
|
||||
var/dtype = loaded_item.type
|
||||
if(destroy_item(loaded_item))
|
||||
linked_console.stored_research.research_points += point_value
|
||||
linked_console.stored_research.deconstructed_items[dtype] = point_value
|
||||
=======
|
||||
var/loaded_type = loaded_item.type
|
||||
if(destroy_item(loaded_item))
|
||||
linked_console.stored_research.research_points += point_value
|
||||
linked_console.stored_research.deconstructed_items[loaded_type] = point_value
|
||||
|
||||
>>>>>>> 805f0be... Fixes two unrelated runtimes (#33494)
|
||||
return TRUE
|
||||
|
||||
/obj/machinery/rnd/destructive_analyzer/proc/unload_item()
|
||||
|
||||
Reference in New Issue
Block a user