better fix for genv reset

master
Kimapr 2019-09-26 09:13:49 +00:00 committed by GitHub
parent dd401a7c09
commit 09d2f555d0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -899,7 +899,7 @@ local function init_robot(obj)
obj:set_properties({nametag = "[" .. name.."]",nametag_color = "LawnGreen"});
obj:set_armor_groups({fleshy=0})
if not basic_robot.data[name].cor then
if not basic_robot.data[name].sandbox then
initSandbox ( name )
end
end