From 8bef7794530c5960120ded0b33eb2fdd42d084df Mon Sep 17 00:00:00 2001 From: Hut512 Date: Fri, 4 Sep 2026 19:44:59 +0200 Subject: [PATCH] Fix SteamwarUser.setLocale --- CommonCore/SQL/src/de/steamwar/sql/SteamwarUser.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CommonCore/SQL/src/de/steamwar/sql/SteamwarUser.kt b/CommonCore/SQL/src/de/steamwar/sql/SteamwarUser.kt index 0d19c712..09b7bf68 100644 --- a/CommonCore/SQL/src/de/steamwar/sql/SteamwarUser.kt +++ b/CommonCore/SQL/src/de/steamwar/sql/SteamwarUser.kt @@ -307,12 +307,12 @@ class SteamwarUser(id: EntityID) : IntEntity(id) { punishments[punishment] = Punishment.createPunishment(this@SteamwarUser.id.value, from, punishment, reason, time, perma) } - fun setLocale(locale: Locale?, manualeLocale: Boolean) { + fun setLocale(locale: Locale?, manualLocale: Boolean) { if (locale == null || (this.manualLocale && !manualLocale)) return useDb { this@SteamwarUser.locale = locale - this@SteamwarUser.manualLocale = manualeLocale + this@SteamwarUser.manualLocale = manualLocale } }