remove
This commit is contained in:
parent
4b46762081
commit
482c61820c
@ -289,18 +289,6 @@ namespace scripting::lua
|
|||||||
return convert(s, entity.call(function, arguments));
|
return convert(s, entity.call(function, arguments));
|
||||||
};
|
};
|
||||||
|
|
||||||
entity_type["iprintln"] = [](const entity& entity, const std::string& string)
|
|
||||||
{
|
|
||||||
const std::string msg = string;
|
|
||||||
game::CG_GameMessage(0, msg.c_str());
|
|
||||||
};
|
|
||||||
|
|
||||||
entity_type["iprintlnbold"] = [](const entity& entity, const std::string& string)
|
|
||||||
{
|
|
||||||
const std::string msg = string;
|
|
||||||
game::CG_GameMessageBold(0, msg.c_str());
|
|
||||||
};
|
|
||||||
|
|
||||||
entity_type[sol::meta_function::new_index] = [](const entity& entity, const std::string& field,
|
entity_type[sol::meta_function::new_index] = [](const entity& entity, const std::string& field,
|
||||||
const sol::lua_value& value)
|
const sol::lua_value& value)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user