URL:
  <http://gna.org/bugs/?18695>

                 Summary: lua files not correctly re-read on "back to turn 1"
                 Project: Battle for Wesnoth
            Submitted by: anonymissimus
            Submitted on: Mo 19 Sep 2011 17:59:12 GMT
                Category: Bug
                Severity: 4 - Important
                Priority: 5 - Normal
              Item Group:  None of the others
                  Status: None
                 Privacy: Public
             Assigned to: None
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: trunk r51228
        Operating System: win xp

    _______________________________________________________

Details:

reproduced with "Settlers of Wesnoth", checkout url:

htts://wesnoth-umc-dev.svn.sourceforge.net/svnroot/wesnoth-umc-dev/trunk/Settlers_of_Wesnoth

1. Start a local mp game.
2. Click a few times on "turn done".
3. Click "back to turn 1" from the menu.
4. Click "turn done" once.
Lots of "attempt to call global <some function from
Settlers_of_Wesnoth/lua/main.lua> (a nil value)" pop up, despite they should
have been correctly reloaded and compiled by the scenario code, so this looks
like some reinitialization problem:
++
        [event]
                name=preload
                first_time_only=no

                [lua]
                        code=<< wesnoth.dofile 
"~add-ons/Settlers_of_Wesnoth/lua/main.lua" >>
                [/lua]
        [/event]
--
I know for sure it worked before the "token" stuff. Also, all bugs found with
this addon are likely to be engine bugs.




    _______________________________________________________

Reply to this item at:

  <http://gna.org/bugs/?18695>

_______________________________________________
  Nachricht geschickt von/durch Gna!
  http://gna.org/


_______________________________________________
Wesnoth-bugs mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-bugs

Reply via email to