Fix room shift for mounted lights

This commit is contained in:
2025-10-04 01:01:00 +01:00
parent aba855e0a6
commit 731552fe08
2 changed files with 3 additions and 3 deletions
+1 -1
View File
File diff suppressed because one or more lines are too long
+2 -2
View File
@@ -107,8 +107,8 @@ posRms prs parenti@(parent, _) ((numChild, t@(Node childi _)) : its) tseq = do
.:~ RoomPos
--{ _rpPos = fst (lnkPosDir outlnk)
--, _rpDir = snd (lnkPosDir outlnk)
{ _rpPos = outlnk ^. rlPos
, _rpDir = outlnk ^. rlDir
{ _rpPos = il ^. rlPos
, _rpDir = il ^. rlDir
, _rpType = S.empty
, _rpLinkStatus = UsedInLink (_rlType il) (snd parenti)
, _rpPlacementUse = mempty