diff options
author | Bardur Arantsson <bardur@scientician.net> | 2012-04-02 22:10:00 +0200 |
---|---|---|
committer | Bardur Arantsson <bardur@scientician.net> | 2012-04-07 15:28:25 +0200 |
commit | a5a4f737005258097fb46a7c746ac202575fd03e (patch) | |
tree | f10f14909a953c5fbbeb4730244525a7844092d8 /src/cmd4.c | |
parent | 13543856597dc59f3cf8b7ecbf7d2e77e07c7f69 (diff) |
Lua: Move module initialization code to C
Diffstat (limited to 'src/cmd4.c')
-rw-r--r-- | src/cmd4.c | 8 |
1 files changed, 2 insertions, 6 deletions
@@ -2808,15 +2808,11 @@ void do_cmd_note(void) */ void do_cmd_version(void) { - cptr author, email; - - call_lua("get_module_info", "(s,d)", "s", "author", 1, &author); - call_lua("get_module_info", "(s,d)", "s", "author", 2, &email); - /* Silly message */ msg_format("You are playing %s made by %s (%s).", get_version_string(), - author, email); + modules[game_module_idx].meta.author.name, + modules[game_module_idx].meta.author.email); call_lua("patchs_display", "()", ""); } |