Fix paintings not saving changes (#31648)

This commit is contained in:
jellyveggie2
2021-12-15 01:09:50 +01:00
committed by GitHub
parent d44e644ea6
commit 0767c90b1e
2 changed files with 2 additions and 5 deletions

View File

@@ -201,16 +201,13 @@
/datum/custom_painting/Topic(href, href_list)
world.log << "painting topic"
// Handle multipart href
if (href_list["multipart"])
world.log << "painting topic: href"
mp_handler.Topic(href, href_list)
return
// Save changes
else
world.log << "painting topic: onwards"
// Make sure the player can actually paint
if(!usr || usr.incapacitated())
return