Fix: admin page changed feet to match body colour (#174)

When saving changes to a character, the admin page
overwrote their foot colour with the body colour.
This fix renders the correct variable into the page
so the foot colour is preserved.
This commit is contained in:
silic0nalph4 2021-10-20 19:58:28 +01:00 committed by GitHub
parent 723e81e90e
commit 678d719036
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -650,7 +650,7 @@ else if ($id > 0 && isset($player) && $player->isLoaded())
<label for="look_feet" class="control-label">Feet: <span <label for="look_feet" class="control-label">Feet: <span
id="look_feet_val"></span></label> id="look_feet_val"></span></label>
<input type="range" min="0" max="132" <input type="range" min="0" max="132"
value="<?php echo $player->getLookBody(); ?>" value="<?php echo $player->getLookFeet(); ?>"
class="slider form-control" id="look_feet" name="look_feet"> class="slider form-control" id="look_feet" name="look_feet">
</div> </div>
</div> </div>