From 49446c64f70e345bf12dc5ac45f6635eab670f09 Mon Sep 17 00:00:00 2001 From: Zeno Rogue Date: Sun, 16 Jun 2024 13:50:23 +0200 Subject: [PATCH] texture:: set variation quicker --- textures.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/textures.cpp b/textures.cpp index f3d5da02..7fafc1b4 100644 --- a/textures.cpp +++ b/textures.cpp @@ -1102,11 +1102,12 @@ bool texture_config::load() { stop_game(); } set_geometry(targetgeometry); + set_variation(targetvariation); start_game(); return config.load(); } - - if(variation != targetvariation) { + else if(variation != targetvariation) { + stop_game(); set_variation(targetvariation); start_game(); return config.load();