Fix copy paste of actors scripts
@@ -981,13 +981,13 @@ const addActor: CaseReducer<
paletteId: "",
isPinned: false,
collisionGroup: "",
+ ...(action.payload.defaults || {}),
script: [],
startScript: [],
updateScript: [],
hit1Script: [],
hit2Script: [],
hit3Script: [],
- ...(action.payload.defaults || {}),
id: action.payload.actorId,
x: clamp(action.payload.x, 0, scene.width - 2),
y: clamp(action.payload.y, 0, scene.height - 1),
