Make single/multiplayer mode accessible to lua
Bug #1814372 reported by
kaputtnik
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
widelands |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
This is an idea from https:/
If there is a lua method to distinguish between single and multiplayer mode, this can be used to switch the code depending on the mode. See here for an example:
Related branches
lp:~widelands-dev/widelands/bug-1814372-lua-gametype
- Klaus Halfmann: Approve (review, compile)
-
Diff: 59 lines (+30/-1)2 files modifiedsrc/scripting/lua_root.cc (+29/-1)
src/scripting/lua_root.h (+1/-0)
Changed in widelands: | |
milestone: | none → build21-rc1 |
milestone: | build21-rc1 → none |
Changed in widelands: | |
status: | New → Fix Committed |
milestone: | none → build20-rc1 |
To post a comment you must log in.
Fixed in build20-rc1