fix [endlevel] end_text=translatable string
This commit is contained in:
parent
25ad24d4f7
commit
ffe5cd44e3
1 changed files with 1 additions and 1 deletions
|
@ -1083,7 +1083,7 @@ int game_lua_kernel::intf_set_end_campaign_credits(lua_State *L)
|
|||
int game_lua_kernel::intf_set_end_campaign_text(lua_State *L)
|
||||
{
|
||||
game_classification &classification = const_cast<game_classification &> (play_controller_.get_classification());
|
||||
classification.end_text = luaL_checkstring(L, 1);
|
||||
classification.end_text = luaW_checktstring(L, 1);
|
||||
if (lua_isnumber(L, 2)) {
|
||||
classification.end_text_duration = static_cast<int> (lua_tonumber(L, 2));
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue