adonthell-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[adonthell-wastesedge-commits] Release_0-3-1 bb956f2 196/237: ADDED shut


From: Kai Sterker
Subject: [adonthell-wastesedge-commits] Release_0-3-1 bb956f2 196/237: ADDED shutdown
Date: Mon, 25 Jul 2016 18:15:12 +0000 (UTC)

tag: Release_0-3-1
commit bb956f22530928d482439030f4ff332e2d7a55ca
Author: adondev <adondev>
Commit: adondev <adondev>

    ADDED shutdown
---
 scripts/schedules/mapcharacters/extro.py |    8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/scripts/schedules/mapcharacters/extro.py 
b/scripts/schedules/mapcharacters/extro.py
index f5210b5..29547d7 100644
--- a/scripts/schedules/mapcharacters/extro.py
+++ b/scripts/schedules/mapcharacters/extro.py
@@ -17,6 +17,9 @@ import events
 
 class extro:
     def __init__(self, mapchar):
+        # -- deactivate game controls
+        adonthell.gamedata_engine ().set_control_active (0)
+        
         # -- grab the character's we need
         bjarn = adonthell.gamedata_get_character ("Bjarn Fingolson")
         erek = adonthell.gamedata_get_character ("Erek Stonebreaker")
@@ -515,7 +518,10 @@ class extro:
         self.x = [0, 0, 0]  # -- offsets of the 3 forest pics
 
         adonthell.gamedata_engine ().main (self.window, 'fmv')
-
+        
+        # -- quit!
+        adonthell.gamedata_engine ().main_quit ()
+        
     def forest_animation (self):
         # -- animate
         update = 0



reply via email to

[Prev in Thread] Current Thread [Next in Thread]