Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package CorsixTH for openSUSE:Factory 
checked in at 2026-11-17 17:21:27
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/CorsixTH (Old)
 and      /work/SRC/openSUSE:Factory/.CorsixTH.new.1251 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "CorsixTH"

Tue Nov 17 17:21:27 2026 rev:17 rq:1398165 version:0.70.2

Changes:
--------
--- /work/SRC/openSUSE:Factory/CorsixTH/CorsixTH.changes        2026-09-01 
15:50:30.106246720 +0200
+++ /work/SRC/openSUSE:Factory/.CorsixTH.new.1251/CorsixTH.changes      
2026-11-17 17:24:08.749120519 +0100
@@ -1,0 +2,12 @@
+Sun Nov  8 15:40:55 UTC 2026 - Carsten Ziepke <[email protected]>
+
+- Update to version 0.70.2:
+  * Bug fixes
+    - Dying patients can no longer be sent home
+    - Machine dynamic information now correctly updates after
+      repair
+    - Fixed key input crash when using the numpad
+    - Fixed side objects becoming passable after purchasing a plot
+    - Fixed patient dialog not opening on epidemic patients
+
+-------------------------------------------------------------------

Old:
----
  CorsixTH-0.70.1.tar.gz

New:
----
  CorsixTH-0.70.2.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ CorsixTH.spec ++++++
--- /var/tmp/diff_new_pack.8HPt1l/_old  2026-11-17 17:24:09.484151811 +0100
+++ /var/tmp/diff_new_pack.8HPt1l/_new  2026-11-17 17:24:09.486151896 +0100
@@ -17,7 +17,7 @@
 
 
 Name:           CorsixTH
-Version:        0.70.1
+Version:        0.70.2
 Release:        0
 Summary:        Theme Hospital clone
 License:        MIT

++++++ CorsixTH-0.70.1.tar.gz -> CorsixTH-0.70.2.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/CorsixTH-0.70.1/CorsixTH/Lua/api_version.lua 
new/CorsixTH-0.70.2/CorsixTH/Lua/api_version.lua
--- old/CorsixTH-0.70.1/CorsixTH/Lua/api_version.lua    2026-08-26 
21:56:02.000000000 +0200
+++ new/CorsixTH-0.70.2/CorsixTH/Lua/api_version.lua    2026-11-04 
00:05:43.000000000 +0100
@@ -32,4 +32,4 @@
 
 #endif /*]] --*/
 
-return 2717;
+return 2718;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/CorsixTH-0.70.1/CorsixTH/Lua/app.lua 
new/CorsixTH-0.70.2/CorsixTH/Lua/app.lua
--- old/CorsixTH-0.70.1/CorsixTH/Lua/app.lua    2026-08-26 21:56:02.000000000 
+0200
+++ new/CorsixTH-0.70.2/CorsixTH/Lua/app.lua    2026-11-04 00:05:43.000000000 
+0100
@@ -28,7 +28,7 @@
 -- and add compatibility code in afterLoad functions
 -- Recommended: Also replace/Update the summary comment
 
-local SAVEGAME_VERSION = 254 -- 0.70.1
+local SAVEGAME_VERSION = 255 -- 0.70.2
 
 class "App"
 
@@ -1726,6 +1726,7 @@
   {major = 0, minor = 70, revision = 0, patch = "-rc2", version = 252},
   {major = 0, minor = 70, revision = 0, patch = "", version = 253},
   {major = 0, minor = 70, revision = 1, patch = "", version = 254},
+  {major = 0, minor = 70, revision = 2, patch = "", version = 255},
 }
 
 --! Retrieve the current savegame version as defined in the application.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/CorsixTH-0.70.1/CorsixTH/Lua/dialogs/patient.lua 
new/CorsixTH-0.70.2/CorsixTH/Lua/dialogs/patient.lua
--- old/CorsixTH-0.70.1/CorsixTH/Lua/dialogs/patient.lua        2026-08-26 
21:56:02.000000000 +0200
+++ new/CorsixTH-0.70.2/CorsixTH/Lua/dialogs/patient.lua        2026-11-04 
00:05:43.000000000 +0100
@@ -321,7 +321,7 @@
 end
 
 function UIPatient:goHome()
-  if self.patient.going_home then
+  if self.patient.going_home or self.patient.going_to_die or self.patient.dead 
then
     return
   end
   self:close()
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/CorsixTH-0.70.1/CorsixTH/Lua/entities/humanoids/patient.lua 
new/CorsixTH-0.70.2/CorsixTH/Lua/entities/humanoids/patient.lua
--- old/CorsixTH-0.70.1/CorsixTH/Lua/entities/humanoids/patient.lua     
2026-08-26 21:56:02.000000000 +0200
+++ new/CorsixTH-0.70.2/CorsixTH/Lua/entities/humanoids/patient.lua     
2026-11-04 00:05:43.000000000 +0100
@@ -77,21 +77,21 @@
     if self.message_callback then
       self:message_callback()
     else
-
-      local function isValidEpidemicTarget(epidemic)
-        return epidemic and epidemic.coverup_selected and
-            (epidemic.vaccination_mode_active or
-            (self.infected and (not self.marked_for_vaccination)))
+      local function isValidVaccinationTarget(epidemic)
+        return epidemic and epidemic.coverup_selected and self.infected and
+            (not self.marked_for_vaccination) and
+            (not self.vaccinated) and
+            (not epidemic.timer.closed)
       end
-
       local hospital = self.hospital or self.world:getLocalPlayerHospital()
       local epidemic = hospital and hospital.epidemic
-      if isValidEpidemicTarget(epidemic) then
-          if not epidemic.timer.closed then
-            epidemic:markForVaccination(self)
-          end
+      local vaccination_mode_active = epidemic and 
epidemic.vaccination_mode_active
+      if isValidVaccinationTarget(epidemic) then
+        epidemic:markForVaccination(self)
       else
-        ui:addWindow(UIPatient(ui, self))
+        if not vaccination_mode_active then
+          ui:addWindow(UIPatient(ui, self))
+        end
       end
     end
   elseif self.user_of then
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/CorsixTH-0.70.1/CorsixTH/Lua/entities/machine.lua 
new/CorsixTH-0.70.2/CorsixTH/Lua/entities/machine.lua
--- old/CorsixTH-0.70.1/CorsixTH/Lua/entities/machine.lua       2026-08-26 
21:56:02.000000000 +0200
+++ new/CorsixTH-0.70.2/CorsixTH/Lua/entities/machine.lua       2026-11-04 
00:05:43.000000000 +0100
@@ -372,15 +372,20 @@
 --!param room (object) machine room
 --!param strength_reducible (bool) machine room
 function Machine:machineRepaired(room, strength_reducible)
+  -- The sequence of actions inside function matters.
+  -- Changing the order can disrupt the machine repair logic.
   strength_reducible = strength_reducible or true
+  -- 1. First, perform a "reduce strength" operation.
   if strength_reducible then
     self:reduceStrengthOnRepair()
   end
+  -- 2. Next, after "reduce strength" reset the `times_used` value.
+  self.times_used = 0
   room:unlockRoomOnRepair()
+  -- 3. Finally, after reset the `times_used` update the DynamicInfo.
   self:removeRepairingStatus()
   setSmoke(self, false)
   self:removeHandymanRepairTask()
-  self.times_used = 0
 end
 
 --! Call on machine repaired. Removes repair task for that machine.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/CorsixTH-0.70.1/CorsixTH/Lua/game_ui.lua 
new/CorsixTH-0.70.2/CorsixTH/Lua/game_ui.lua
--- old/CorsixTH-0.70.1/CorsixTH/Lua/game_ui.lua        2026-08-26 
21:56:02.000000000 +0200
+++ new/CorsixTH-0.70.2/CorsixTH/Lua/game_ui.lua        2026-11-04 
00:05:43.000000000 +0100
@@ -368,8 +368,8 @@
   end
 end
 
-function GameUI:onKeyUp(rawchar)
-  if UI.onKeyUp(self, rawchar) then
+function GameUI:onKeyUp(rawchar, modifiers)
+  if UI.onKeyUp(self, rawchar, modifiers) then
     return true
   end
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/CorsixTH-0.70.1/CorsixTH/Lua/map.lua 
new/CorsixTH-0.70.2/CorsixTH/Lua/map.lua
--- old/CorsixTH-0.70.1/CorsixTH/Lua/map.lua    2026-08-26 21:56:02.000000000 
+0200
+++ new/CorsixTH-0.70.2/CorsixTH/Lua/map.lua    2026-11-04 00:05:43.000000000 
+0100
@@ -368,6 +368,9 @@
   end
   -- Refresh the map's paths and flags
   self.th:updatePathfinding()
+  if self.app.world then
+    self.app.world:resetSideObjects()
+  end
   self:_fixTiles()
 end
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/CorsixTH-0.70.1/CorsixTH/com.corsixth.corsixth.metainfo.xml 
new/CorsixTH-0.70.2/CorsixTH/com.corsixth.corsixth.metainfo.xml
--- old/CorsixTH-0.70.1/CorsixTH/com.corsixth.corsixth.metainfo.xml     
2026-08-26 21:56:02.000000000 +0200
+++ new/CorsixTH-0.70.2/CorsixTH/com.corsixth.corsixth.metainfo.xml     
2026-11-04 00:05:43.000000000 +0100
@@ -20,6 +20,18 @@
   </provides>
   <launchable type="desktop-id">com.corsixth.corsixth.desktop</launchable>
   <releases>
+    <release version="0.70.2" date="2026-11-08" type="stable">
+      <description>
+        <p>Bug fixes:</p>
+        <ul>
+          <li>Dying patients can no longer be sent home</li>
+          <li>Machine dynamic information now correctly updates after 
repair</li>
+          <li>Fixed key input crash when using the numpad</li>
+          <li>Fixed side objects becoming passable after purchasing a plot</li>
+          <li>Fixed patient dialog not opening on epidemic patients</li>
+        </ul>
+      </description>
+    </release>
     <release version="0.70.1" date="2026-08-27" type="stable">
       <description>
         <p>Bug fixes:</p>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/CorsixTH-0.70.1/CorsixTH/corsix-th.6 
new/CorsixTH-0.70.2/CorsixTH/corsix-th.6
--- old/CorsixTH-0.70.1/CorsixTH/corsix-th.6    2026-08-26 21:56:02.000000000 
+0200
+++ new/CorsixTH-0.70.2/CorsixTH/corsix-th.6    2026-11-04 00:05:43.000000000 
+0100
@@ -95,4 +95,4 @@
 CorsixTH is available under the MIT license.
 .Pp
 For the full license text see:
-.Lk https://raw.githubusercontent.com/CorsixTH/CorsixTH/v0.70.1/LICENSE.txt
+.Lk https://raw.githubusercontent.com/CorsixTH/CorsixTH/v0.70.2/LICENSE.txt
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/CorsixTH-0.70.1/WindowsInstaller/Win32Script.nsi 
new/CorsixTH-0.70.2/WindowsInstaller/Win32Script.nsi
--- old/CorsixTH-0.70.1/WindowsInstaller/Win32Script.nsi        2026-08-26 
21:56:02.000000000 +0200
+++ new/CorsixTH-0.70.2/WindowsInstaller/Win32Script.nsi        2026-11-04 
00:05:43.000000000 +0100
@@ -24,7 +24,7 @@
 ;---------------------------------- Definitions for the game 
-----------------------------------
 
 !define PRODUCT_NAME "CorsixTH"
-!define PRODUCT_VERSION "0.70.1"
+!define PRODUCT_VERSION "0.70.2"
 !define PRODUCT_UNINST_KEY 
"Software\Microsoft\Windows\CurrentVersion\Uninstall\${PRODUCT_NAME}"
 !define PRODUCT_UNINST_ROOT_KEY "HKLM"
 !define PRODUCT_STARTMENU_REGVAL "NSIS:StartMenuDir"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/CorsixTH-0.70.1/changelog.txt 
new/CorsixTH-0.70.2/changelog.txt
--- old/CorsixTH-0.70.1/changelog.txt   2026-08-26 21:56:02.000000000 +0200
+++ new/CorsixTH-0.70.2/changelog.txt   2026-11-04 00:05:43.000000000 +0100
@@ -1,4 +1,14 @@
 -------------------------------------------------------------------------------
+CorsixTH 0.70.2 - Released November 2026
+-------------------------------------------------------------------------------
+# Bug Fixes
+* Dying patients can no longer be sent home
+* Machine dynamic information now correctly updates after repair
+* Fixed key input crash when using the numpad
+* Fixed side objects becoming passable after purchasing a plots
+* Fixed patient dialog not opening on epidemic patients
+
+-------------------------------------------------------------------------------
 CorsixTH 0.70.1 - Released August 2026
 -------------------------------------------------------------------------------
 # Bug Fixes

Reply via email to