Skip to content

Commit

Permalink
Fix "shadow" selection
Browse files Browse the repository at this point in the history
  • Loading branch information
vladtcvs authored and alek13 committed Aug 22, 2021
1 parent 264a308 commit 355e2a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mods/lord/lord_classes/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -395,7 +395,7 @@ minetest.register_on_player_receive_fields(function(player, formname, fields)
local r = races.to_internal(fields.race, fields.gender)
races.set_race_and_gender(name, r, true)
races.show_skin_change_form(r[1], r[2], 1, name)
elseif fields.cancel then
else -- Cancel button pressed, or escape pressed
local r = races.default
races.set_race_and_gender(name, r, true)
end
Expand Down

0 comments on commit 355e2a4

Please sign in to comment.