Skip to content

Commit

Permalink
[MIRROR] General code maintenance for smart fridge [MDB IGNORE] (#643)
Browse files Browse the repository at this point in the history
* General code maintenance for smart fridge

* Update smartfridge.dm

---------

Co-authored-by: SkyratBot <[email protected]>
Co-authored-by: SyncIt21 <[email protected]>
Co-authored-by: Bloop <[email protected]>
  • Loading branch information
4 people authored Nov 15, 2023
1 parent 0411b68 commit 3cf89c1
Show file tree
Hide file tree
Showing 3 changed files with 327 additions and 245 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -551,7 +551,7 @@

/obj/item/circuitboard/machine/smartfridge/apply_default_parts(obj/machinery/smartfridge/smartfridge)
build_path = smartfridge.base_build_path
if(!fridges_name_paths.Find(build_path, fridges_name_paths))
if(!fridges_name_paths.Find(build_path))
name = "[initial(smartfridge.name)]" //if it's a unique type, give it a unique name.
is_special_type = TRUE
return ..()
Expand Down
Loading

0 comments on commit 3cf89c1

Please sign in to comment.