Skip to content

Commit a1d3d34

Browse files
committed
Renamed a few ICvar methods
1 parent e27911e commit a1d3d34

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

src/core/modules/cvars/cvars_wrap.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -69,19 +69,19 @@ DECLARE_SP_MODULE(_cvars)
6969
void export_cvar_interface(scope _cvars)
7070
{
7171
class_<ICvar, boost::noncopyable>("_Cvar", no_init)
72-
.def("register_con_command",
72+
.def("register_command",
7373
&ICvar::RegisterConCommand,
7474
"Registers a console command.",
7575
args("con_command")
7676
)
7777

78-
.def("unregister_con_command",
78+
.def("unregister_command",
7979
&ICvar::UnregisterConCommand,
8080
"Unregisters a console command.",
8181
args("con_command")
8282
)
8383

84-
.def("find_command_base",
84+
.def("find_command",
8585
GET_METHOD(ConCommandBase *, ICvar, FindCommandBase, const char *),
8686
"Returns a ConCommandBase instance for the given command, if it exists",
8787
args("name"),

0 commit comments

Comments
 (0)