Skip to content

Commit

Permalink
Fix PR #3 that was to wrong branch
Browse files Browse the repository at this point in the history
  • Loading branch information
Fernando-A-Rocha committed Sep 8, 2023
1 parent 59f6464 commit 2aae6ea
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions [editor]/editor_main/server/saveloadtest_server.lua
Original file line number Diff line number Diff line change
Expand Up @@ -703,6 +703,10 @@ function createElementAttributesForSaving(xmlNode, element)
local colorString = vc[1]..","..vc[2]..","..vc[3]..","..vc[4]..","..vc[5]..","..vc[6]..","..vc[7]..","..vc[8]..","..vc[9]..","..vc[10]..","..vc[11]..","..vc[12]
xmlNodeSetAttribute(elementNode, "color", toAttribute(colorString))
end
local newmodelsBaseId = getElementData(element, "baseID")
if newmodelsBaseId then
xmlNodeSetAttribute(elementNode, "model", tostring(newmodelsBaseId))
end
return elementNode
end

Expand Down

0 comments on commit 2aae6ea

Please sign in to comment.