Replace unneccesary eval

This commit is contained in:
LoafyLemon 2024-04-03 12:38:48 +01:00
parent 0dc071261b
commit 5c4ce667a5
1 changed files with 1 additions and 3 deletions

View File

@ -211,11 +211,9 @@ init 5 python:
self.set_pose(pose or self.walk)
# Note: Warper names and their count can change over time,
# so it's easier to just evaluate the input.
# List of available warpers:
# https://www.renpy.org/doc/html/atl.html?#warpers
warper = eval(f"_warper.{warper}")
warper = getattr(_warper, warper, _warper.linear)
distances = []
times = []