You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -395,13 +395,13 @@ local function SimulateCast(
395
395
396
396
localpoint=currentTarget
397
397
localpart:Instance?=nil
398
-
localmaterial=Enum.Material.Air
398
+
--local material = Enum.Material.Air
399
399
--local normal = Vector3.new()
400
400
401
401
ifresultOfCast~=nilthen
402
402
point=resultOfCast.Position
403
403
part=resultOfCast.Instance
404
-
material=resultOfCast.Material
404
+
--material = resultOfCast.Material
405
405
--normal = resultOfCast.Normal
406
406
end
407
407
@@ -510,6 +510,7 @@ local function SimulateCast(
510
510
warn(
511
511
"Cascading cast lag encountered! The caster attempted to perform a high fidelity cast before the previous one completed, resulting in exponential cast lag. Consider increasing HighFidelitySegmentSize."
512
512
)
513
+
return
513
514
end
514
515
515
516
cast.StateInfo.IsActivelyResimulating=true
@@ -875,6 +876,7 @@ function ActiveCast.createCastData(
875
876
warn(
876
877
"Cascading cast lag encountered! The caster attempted to perform a high fidelity cast before the previous one completed, resulting in exponential cast lag. Consider increasing HighFidelitySegmentSize."
877
878
)
879
+
return
878
880
end
879
881
880
882
cast.StateInfo.IsActivelyResimulating=true
@@ -928,7 +930,7 @@ function ActiveCast.createCastData(
928
930
end
929
931
930
932
forsegmentIndex=1, numSegmentsRealdo
931
-
ifcast==nilornext(cast) ==nilthen
933
+
ifnext(cast) ==nilthen
932
934
return
933
935
end
934
936
ifcast.StateInfo.CancelHighResCastthen
@@ -944,7 +946,7 @@ function ActiveCast.createCastData(
0 commit comments