Add ObjRef:is_player() and modify ObjRef:get_player_name() to always return a string...
authorPerttu Ahola <celeron55@gmail.com>
Sat, 2 Jun 2012 12:47:36 +0000 (15:47 +0300)
committerPerttu Ahola <celeron55@gmail.com>
Sun, 3 Jun 2012 19:31:01 +0000 (22:31 +0300)
commitbf8cfce50e3f32b84c7fccf470601986d6f7913f
tree9cb99973db9cb1c83b184ff0d9fe0e8cee2fd9f5
parentb235e4d290e3565a2789ec5097d33b1ec9dbb5ce
Add ObjRef:is_player() and modify ObjRef:get_player_name() to always return a string to aid better inter-object compatibility of code that assumes objects to be players
builtin/misc.lua
doc/lua_api.txt
src/scriptapi.cpp