Skip to content

Commit a43e827

Browse files
authored
Remove setter added in 37e744c
1 parent 37e744c commit a43e827

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Server/mods/deathmatch/logic/luadefs/CLuaVehicleDefs.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -261,7 +261,7 @@ void CLuaVehicleDefs::AddClass ( lua_State* luaVM )
261261
//lua_classvariable ( luaVM, "headLightColor", "setVehicleHeadLightColor", "getVehicleHeadLightColor" );
262262
//lua_classvariable ( luaVM, "color", "setVehicleColor", "getVehicleColor" );
263263
lua_classvariable ( luaVM, "sirens", NULL, "getVehicleSirens" ); // TODO: support .sirens[point] = {...}
264-
lua_classvariable ( luaVM, "handling", "setVehicleHandling", "getVehicleHandling" ); // .handling[property]=value
264+
lua_classvariable ( luaVM, "handling", nullptr, "getVehicleHandling" ); // .handling[property]=value
265265
lua_classvariable ( luaVM, "occupant", NULL, "getVehicleOccupant" ); // Currrently returns driver, support .occupant[seat]=ped
266266

267267
lua_registerclass ( luaVM, "Vehicle", "Element" );

0 commit comments

Comments
 (0)