From 482c61820c97d9b36490c9cfe74b456c0bb338bc Mon Sep 17 00:00:00 2001 From: m Date: Sat, 28 Aug 2021 11:11:06 -0500 Subject: [PATCH] remove --- src/game/scripting/lua/context.cpp | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/src/game/scripting/lua/context.cpp b/src/game/scripting/lua/context.cpp index daf0736a..453f3595 100644 --- a/src/game/scripting/lua/context.cpp +++ b/src/game/scripting/lua/context.cpp @@ -289,18 +289,6 @@ namespace scripting::lua 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, const sol::lua_value& value) {