From e694302caca002ba937a75a37b2dbf777db186c5 Mon Sep 17 00:00:00 2001 From: JLIOSM1 <774727341@qq.com> Date: Wed, 21 Jul 2021 16:41:33 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90MapPlayerView=E3=80=91=E9=9A=8F?= =?UTF-8?q?=E6=9C=BA=E6=96=B9=E6=B3=95=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../ManagedResources/~Lua/Modules/Map/View/MapPlayerView.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Assets/ManagedResources/~Lua/Modules/Map/View/MapPlayerView.lua b/Assets/ManagedResources/~Lua/Modules/Map/View/MapPlayerView.lua index d5e8a9bea2..4a2d0f2455 100644 --- a/Assets/ManagedResources/~Lua/Modules/Map/View/MapPlayerView.lua +++ b/Assets/ManagedResources/~Lua/Modules/Map/View/MapPlayerView.lua @@ -1,4 +1,4 @@ -require("Modules/Map/Logic/TileMapView") +require("Modules/Map/Logic/TileMapView") local this = {} local ctrlView = require("Modules/Map/View/MapControllView") @@ -22,7 +22,7 @@ local idleFunc = function() this.NpcGO:SetWalkDir(WALK_DIR.IDLE_FRONT) end end -local index = Random.Range(9,11) +local index = math.random(9,11) local AnimTimer = Timer.New(function () if not isRoleWalk and this.leader then--SkeletonGraphic and PlayUIAnim(Util.GetGameObject(this.leader, "root/ui/arrow"))