diff --git a/src/eressea/lua/spell.cpp b/src/eressea/lua/spell.cpp index 79cd6df39..130e4b0ed 100644 --- a/src/eressea/lua/spell.cpp +++ b/src/eressea/lua/spell.cpp @@ -28,6 +28,6 @@ bind_spell(lua_State * L) class_("spell") .def_readonly("name", &spell::sname) .def_readonly("level", &spell::level) - .def("school", &spell_getschool) + .property("school", &spell_getschool) ]; }