mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-15 12:43:13 +00:00
merge fix
This commit is contained in:
@@ -68,7 +68,7 @@
|
|||||||
if(!new_text)
|
if(!new_text)
|
||||||
return
|
return
|
||||||
|
|
||||||
free_space -= length(strip_html_properly(new_text, 0))
|
free_space -= length(strip_html_properly(new_text))
|
||||||
|
|
||||||
/obj/item/weapon/paper/examine(mob/user)
|
/obj/item/weapon/paper/examine(mob/user)
|
||||||
..()
|
..()
|
||||||
@@ -343,7 +343,7 @@
|
|||||||
usr << "<span class='info'>There isn't enough space left on \the [src] to write anything.</span>"
|
usr << "<span class='info'>There isn't enough space left on \the [src] to write anything.</span>"
|
||||||
return
|
return
|
||||||
|
|
||||||
var/t = strip_html_properly(input("Enter what you want to write:", "Write", null, null) as message)
|
var/t = sanitize(input("Enter what you want to write:", "Write", null, null) as message, free_space, extra = 0)
|
||||||
|
|
||||||
if(!t)
|
if(!t)
|
||||||
return
|
return
|
||||||
|
|||||||
Reference in New Issue
Block a user