[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[adonthell-wastesedge-commits] master a93cd22 2/2: FIXED compatibility i
From: |
Kai Sterker |
Subject: |
[adonthell-wastesedge-commits] master a93cd22 2/2: FIXED compatibility issue with Swig 4.0. |
Date: |
Sat, 11 May 2019 11:00:07 -0400 (EDT) |
branch: master
commit a93cd222cf4dc961fba8dab94d1cbde897ac0769
Author: Kai Sterker <address@hidden>
Commit: Kai Sterker <address@hidden>
FIXED compatibility issue with Swig 4.0.
Swig 4.0 no longer generates __del__ methods, but even prior to that
those were noops. Removing any explicit calls to __del__ should have
no impact and prevent error messages showing in the console.
---
scripts/init.py | 2 --
scripts/schedules/control.py | 2 --
2 files changed, 4 deletions(-)
diff --git a/scripts/init.py b/scripts/init.py
index d902728..94d01d9 100644
--- a/scripts/init.py
+++ b/scripts/init.py
@@ -195,8 +195,6 @@ class title_screen(object):
# -- quit the game
else:
adonthell.gamedata_engine ().main_quit ()
-
- adonthell.win_container.__del__ (menu)
# -- cleanup
def cleanup (self):
diff --git a/scripts/schedules/control.py b/scripts/schedules/control.py
index af5ca47..3b57521 100644
--- a/scripts/schedules/control.py
+++ b/scripts/schedules/control.py
@@ -41,8 +41,6 @@ class control(object):
gamedata_player ().set_schedule_active (True)
gamedata_engine ().set_control_active (True)
- win_container.__del__ (menu)
-
# -- shortcut to the load screen
elif input_has_been_pushed (SDLK_l):