Fixes nanopaint file harddels (#96280)

This commit is contained in:
SmArtKar
2026-06-02 04:18:30 +02:00
committed by GitHub
parent e95eb16874
commit ec3ed5d4b3
2 changed files with 8 additions and 0 deletions
@@ -98,6 +98,10 @@
src.workspace = workspace
src.source_photo_or_painting = source_photo_or_painting
/datum/computer_file/data/paint_project/Destroy(force)
source_photo_or_painting = null
return ..()
/datum/computer_file/data/paint_project/clone(rename)
var/datum/computer_file/data/paint_project/temp = ..()
temp.workspace = workspace.copy()
@@ -27,6 +27,10 @@
src.image_name = image_name
set_source(source_photo_or_painting)
/datum/computer_file/image/Destroy(force)
source_photo_or_painting = null
return ..()
/datum/computer_file/image/on_install(datum/computer_file/source, obj/item/modular_computer/computer_installing)
. = ..()
assign_path()