mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Switch player names to std::string
This commit is contained in:
parent
603eb57943
commit
cc8e7a569e
18 changed files with 39 additions and 36 deletions
|
@ -1166,7 +1166,7 @@ int ObjectRef::l_get_player_name(lua_State *L)
|
|||
return 1;
|
||||
}
|
||||
|
||||
lua_pushstring(L, player->getName());
|
||||
lua_pushstring(L, player->getName().c_str());
|
||||
return 1;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue