File tree Expand file tree Collapse file tree 1 file changed +8
-0
lines changed
game/scripts/vscripts/components/duels Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -180,6 +180,10 @@ function Duels:ActuallyStartDuel ()
180
180
Duels :MoveCameraToPlayer (goodGuy .id , goodHero )
181
181
Duels :MoveCameraToPlayer (badGuy .id , badHero )
182
182
183
+ -- stop player action
184
+ goodHero :Stop ()
185
+ badHero :Stop ()
186
+
183
187
-- disable respawn
184
188
goodHero :SetRespawnsDisabled (true )
185
189
badHero :SetRespawnsDisabled (true )
@@ -215,6 +219,10 @@ function Duels:ActuallyStartDuel ()
215
219
Duels :MoveCameraToPlayer (goodGuy .id , goodHero )
216
220
Duels :MoveCameraToPlayer (badGuy .id , badHero )
217
221
222
+ -- stop player action
223
+ goodHero :Stop ()
224
+ badHero :Stop ()
225
+
218
226
-- disable respawn
219
227
goodHero :SetRespawnsDisabled (true )
220
228
badHero :SetRespawnsDisabled (true )
You can’t perform that action at this time.
0 commit comments