Add missing curly brace in player physics chapter

This commit is contained in:
Spencer 2016-07-01 10:47:31 -07:00 committed by rubenwardy
parent 58cc6d9171
commit b970ba272c

View File

@ -20,7 +20,7 @@ Here is an example which adds an antigravity command, which
puts the caller in low G:
{% highlight lua %}
minetest.register_chatcommand("antigravity",
minetest.register_chatcommand("antigravity", {
func = function(name, param)
local player = minetest.get_player_by_name(name)
player:set_physics_override({