From 5c4ce667a5773b223de52762f478c7bdf9870449 Mon Sep 17 00:00:00 2001 From: LoafyLemon Date: Wed, 3 Apr 2024 12:38:48 +0100 Subject: [PATCH] Replace unneccesary eval --- game/scripts/doll/chibi.rpy | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/game/scripts/doll/chibi.rpy b/game/scripts/doll/chibi.rpy index d5e2bddf..ff387a03 100644 --- a/game/scripts/doll/chibi.rpy +++ b/game/scripts/doll/chibi.rpy @@ -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 = []