Skip to content

Commit

Permalink
Fix typo (#7030)
Browse files Browse the repository at this point in the history
# About the pull request

Misspelled two parts of the URL, causing the autowiki to not hit the
wiki-side template.
- Typo: "Tempalte" -> "Template"
- De-collision: "AutoWiki" -> "Autowiki"

I really hope that's everything.

# Explain why it's good for the game

Makes the original PR actually do something :)

# Testing Photographs and Procedure
<details>
<summary>Screenshots & Videos</summary>

Put screenshots and videos here with an empty line between the
screenshots and the `<details>` tags.

</details>
  • Loading branch information
RainAndSand authored Aug 25, 2024
1 parent 48d70ab commit b926d26
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/modules/autowiki/pages/xeno_stats.dm
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
)

var/sanitized_name = url_encode(replacetext(name, " ", "_"))
return list(list(title = "Tempalte:AutoWiki/Content/XenoStats/[sanitized_name]", text = include_template("Autowiki/XenoStats", xeno_data)))
return list(list(title = "Template:Autowiki/Content/XenoStats/[sanitized_name]", text = include_template("Autowiki/XenoStats", xeno_data)))

/datum/autowiki/xeno_stats/proc/humanize_speed(speed)
return speed * -1 + 1

0 comments on commit b926d26

Please sign in to comment.