Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Tales of MajEyal
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
tome
Tales of MajEyal
Commits
06f33e7f
Commit
06f33e7f
authored
8 years ago
by
Hachem_Muche
Browse files
Options
Downloads
Patches
Plain Diff
Persistent debugging code
parent
8e20bbe6
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!438
DieClonesDie!
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
game/engines/default/engine/Actor.lua
+1
-1
1 addition, 1 deletion
game/engines/default/engine/Actor.lua
with
1 addition
and
1 deletion
game/engines/default/engine/Actor.lua
+
1
−
1
View file @
06f33e7f
...
@@ -90,7 +90,7 @@ _M.clone_copy = nil
...
@@ -90,7 +90,7 @@ _M.clone_copy = nil
function
_M
:
cloneActor
(
post_copy
,
alt_nodes
)
function
_M
:
cloneActor
(
post_copy
,
alt_nodes
)
alt_nodes
=
table
.
merge
(
alt_nodes
or
{},
self
.
clone_nodes
,
true
)
alt_nodes
=
table
.
merge
(
alt_nodes
or
{},
self
.
clone_nodes
,
true
)
if
post_copy
or
self
.
clone_copy
then
post_copy
=
post_copy
or
{}
table
.
update
(
post_copy
,
self
.
clone_copy
or
{},
true
)
end
if
post_copy
or
self
.
clone_copy
then
post_copy
=
post_copy
or
{}
table
.
update
(
post_copy
,
self
.
clone_copy
or
{},
true
)
end
local
a
=
self
:
cloneCustom
(
alt_nodes
,
post_copy
)
,
post_copy
local
a
=
self
:
cloneCustom
(
alt_nodes
,
post_copy
)
a
:
removeAllMOs
()
a
:
removeAllMOs
()
return
a
,
post_copy
return
a
,
post_copy
end
end
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment