Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Tales of MajEyal
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
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
K'van
Tales of MajEyal
Commits
4a85f0fc
Commit
4a85f0fc
authored
12 years ago
by
dg
Browse files
Options
Downloads
Patches
Plain Diff
fix
git-svn-id:
http://svn.net-core.org/repos/t-engine4@5253
51575b47-30f0-44d4-a5cc-537603b46e54
parent
6f3dade7
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
game/engines/default/engine/Entity.lua
+1
-1
1 addition, 1 deletion
game/engines/default/engine/Entity.lua
game/modules/tome/class/Party.lua
+5
-0
5 additions, 0 deletions
game/modules/tome/class/Party.lua
with
6 additions
and
1 deletion
game/engines/default/engine/Entity.lua
+
1
−
1
View file @
4a85f0fc
...
...
@@ -69,7 +69,7 @@ function _M:init(t, no_default)
next_uid
=
next_uid
+
1
for
k
,
e
in
pairs
(
t
)
do
if
k
~=
"__CLASSNAME"
then
if
k
~=
"__CLASSNAME"
and
k
~=
"uid"
then
local
ee
=
e
if
type
(
e
)
==
"table"
and
not
e
.
__CLASSNAME
then
ee
=
table
.
clone
(
e
,
true
)
end
self
[
k
]
=
ee
...
...
This diff is collapsed.
Click to expand it.
game/modules/tome/class/Party.lua
+
5
−
0
View file @
4a85f0fc
...
...
@@ -62,7 +62,12 @@ function _M:addMember(actor, def)
-- Turn NPCs into party members
if
not
actor
.
no_party_class
then
local
uid
=
actor
.
uid
actor
.
replacedWith
=
false
actor
:
replaceWith
(
require
(
"mod.class.PartyMember"
).
new
(
actor
))
actor
.
uid
=
uid
__uids
[
uid
]
=
actor
actor
.
replacedWith
=
nil
end
-- Notify the UI
...
...
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