Merge pull request #895 from ArchieBeepBoop/pandemic

Something about the Pandemic's UI Crashing
This commit is contained in:
QuoteFox
2021-01-17 08:45:16 +00:00
committed by GitHub
3 changed files with 12 additions and 4 deletions
@@ -170,7 +170,7 @@
if(!A.mutable)
return
if(A)
var/new_name = stripped_input(usr, "Name the disease", "New name", "", MAX_NAME_LEN)
var/new_name = sanitize_name(html_encode(params["name"]))
if(!new_name || ..())
return
A.AssignName(new_name)