[wesnoth-commits] [wesnoth/wesnoth] ee40ca: Lua uses nil, not null. Oops!

Celtic Minstrel noreply at github.com
Sat Dec 7 22:20:53 UTC 2019


  Branch: refs/heads/master
  Home:   https://github.com/wesnoth/wesnoth
  Commit: ee40ca2146768445c6c407830bfd3c73c7ed2c91
      https://github.com/wesnoth/wesnoth/commit/ee40ca2146768445c6c407830bfd3c73c7ed2c91
  Author: Celtic Minstrel <celtic.minstrel.ca at some.place>
  Date:   2019-12-07 (Sat, 07 Dec 2019)

  Changed paths:
    M data/lua/core.lua

  Log Message:
  -----------
  Lua uses nil, not null. Oops!


  Commit: fb5c4a5facafa8b3a6e69f1204f91b0bd02362b9
      https://github.com/wesnoth/wesnoth/commit/fb5c4a5facafa8b3a6e69f1204f91b0bd02362b9
  Author: Celtic Minstrel <celtic.minstrel.ca at some.place>
  Date:   2019-12-07 (Sat, 07 Dec 2019)

  Changed paths:
    M src/scripting/lua_kernel_base.cpp
    M src/scripting/lua_kernel_base.hpp

  Log Message:
  -----------
  Some enhancements to the Lua console

- Global variables set from the Lua console are placed in a separate environment from the main game.
- Lua code ending with a return statement will be treated the same as an expression, pretty-printing the result
- Global console variables _ and _all are automatically populated with the result(s) of the last expression


  Commit: e009989ec3d46b0be51d16f5116919c7142a82ca
      https://github.com/wesnoth/wesnoth/commit/e009989ec3d46b0be51d16f5116919c7142a82ca
  Author: Celtic Minstrel <celtic.minstrel.ca at some.place>
  Date:   2019-12-07 (Sat, 07 Dec 2019)

  Changed paths:
    M data/campaigns/Heir_To_The_Throne/scenarios/23_Test_of_the_Clans.cfg
    M data/lua/core.lua
    M data/lua/wml/objectives.lua

  Log Message:
  -----------
  Fix some places that were erroneously calling string.format instead of stringx.vformat after 30240aa7cda41bd5c1a660f17c67e76a9b9ab2cd

Fixes #4621


  Commit: c366998021b2e2ee56acc4384392f9118ebc51bb
      https://github.com/wesnoth/wesnoth/commit/c366998021b2e2ee56acc4384392f9118ebc51bb
  Author: Celtic Minstrel <celtic.minstrel.ca at some.place>
  Date:   2019-12-07 (Sat, 07 Dec 2019)

  Changed paths:
    M data/lua/location_set.lua
    M data/lua/wml/items.lua

  Log Message:
  -----------
  Fix an issue with items and location sets

Fixes #4621


Compare: https://github.com/wesnoth/wesnoth/compare/a7107f26ab83...c366998021b2



More information about the Commits mailing list