Skip to content

Commit af8752d

Browse files
committed
up
1 parent 9fadb4e commit af8752d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Assets/Scripts/u3d_scripts/GameEntity.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ public void set_state(sbyte v)
181181

182182
void FixedUpdate ()
183183
{
184-
if (!enabled)
184+
if (!entityEnabled)
185185
return;
186186

187187
if(isPlayer == false && KBEngineApp.app != null)
@@ -201,7 +201,7 @@ void FixedUpdate ()
201201

202202
void Update ()
203203
{
204-
if (!enabled)
204+
if (!entityEnabled)
205205
{
206206
position = destPosition;
207207
return;

0 commit comments

Comments
 (0)