Skip to content
Snippets Groups Projects

G_BuildMapTitle for Lua, G_BuildMapName outside of levels

Merged James R. requested to merge more-lua-map-names into next
1 unresolved thread

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
2790 }
2791 }
2792
2775 2793 static int lib_gBuildMapName(lua_State *L)
2776 2794 {
2777 INT32 map = luaL_optinteger(L, 1, gamemap);
2795 INT32 map = Lcheckmapnumber(L, 1, "G_BuildMapName");
2778 2796 //HUDSAFE
2779 INLEVEL
2780 2797 lua_pushstring(L, G_BuildMapName(map));
2781 2798 return 1;
2782 2799 }
2783 2800
2801 static int lib_gBuildMapTitle(lua_State *L)
2802 {
2803 INT32 map = Lcheckmapnumber(L, 1, "G_BuoldMapTitle");
  • James R. added 1 commit

    added 1 commit

    Compare with previous version

  • merged

  • James R. mentioned in commit 4eeae51c

    mentioned in commit 4eeae51c

  • Please register or sign in to reply
    Loading