mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2025-12-25 01:22:13 +00:00
Misc fixes (#1370)
changes: bugfix: "Fixed formatting of forms when held up to a security camera." spellcheck: "Fixed grammar error in IA and CE's headsets." Fixes #1196. Fixes #1358. Fixes #1376. Fixes #1347. Replaces some BYOND text macros with spans. Issues: M'sai's preview image does not work (missing image).
This commit is contained in:
@@ -291,6 +291,7 @@ var/global/list/valid_bloodtypes = list("A+", "A-", "B+", "B-", "AB+", "AB-", "O
|
||||
// Actual whitelist checks are handled elsewhere, this is just for accessing the preview window.
|
||||
var/choice = input("Which species would you like to look at?") as null|anything in playable_species
|
||||
if(!choice) return
|
||||
choice = html_decode(choice)
|
||||
pref.species_preview = choice
|
||||
SetSpecies(preference_mob())
|
||||
pref.alternate_languages.Cut() // Reset their alternate languages. Todo: attempt to just fix it instead?
|
||||
@@ -302,7 +303,7 @@ var/global/list/valid_bloodtypes = list("A+", "A-", "B+", "B-", "AB+", "AB-", "O
|
||||
return TOPIC_NOACTION
|
||||
|
||||
var/prev_species = pref.species
|
||||
pref.species = href_list["set_species"]
|
||||
pref.species = html_decode(href_list["set_species"])
|
||||
if(prev_species != pref.species)
|
||||
mob_species = all_species[pref.species]
|
||||
|
||||
@@ -649,7 +650,7 @@ var/global/list/valid_bloodtypes = list("A+", "A-", "B+", "B-", "AB+", "AB-", "O
|
||||
else if(restricted == 2)
|
||||
dat += "<font color='red'><b>You cannot play as this species.</br><small>This species is not available for play as a station race..</small></b></font></br>"
|
||||
if(!restricted || check_rights(R_ADMIN, 0))
|
||||
dat += "\[<a href='?src=\ref[src];set_species=[pref.species_preview]'>select</a>\]"
|
||||
dat += "\[<a href='?src=\ref[src];set_species=[html_encode(pref.species_preview)]'>select</a>\]"
|
||||
dat += "</center></body>"
|
||||
|
||||
user << browse(dat, "window=species;size=700x400")
|
||||
|
||||
Reference in New Issue
Block a user