Skip to content

Commit

Permalink
ldoc is a bitch
Browse files Browse the repository at this point in the history
  • Loading branch information
FynnTW committed Feb 3, 2024
1 parent c79620b commit 2c31e11
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions M2TWEOP-luaPlugin/luaPlugin/luaP.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -783,7 +783,7 @@ sol::state* luaP::init(std::string& luaFilePath, std::string& modPath)
Execute a Medieval II console command.
@function game.callConsole
@tparam string command
@tparam string? args
@tparam string args
@treturn string error Note: string can be empty but not nil
@usage
-- Creating units, adding money
Expand Down Expand Up @@ -893,7 +893,7 @@ sol::state* luaP::init(std::string& luaFilePath, std::string& modPath)
Do not use inc_counter, set_counter, declare_counter! they crash!
@function game.scriptCommand
@tparam string command
@tparam string? args
@tparam string args
@usage
stratmap.game.scriptCommand("give_everything_to_faction", "france england false")
stratmap.game.scriptCommand("send_character_off_map", "Rufus")
Expand Down

0 comments on commit 2c31e11

Please sign in to comment.