fix damage/res

Signed-off-by: scapegaming <dsjfann@rambler.ru>