This commit is contained in:
GauHelldragon
2013-01-03 15:51:06 -08:00
2 changed files with 3 additions and 1 deletions
+1 -1
View File
@@ -69,7 +69,7 @@
if(!src.registered_name)
//Stop giving the players unsanitized unputs! You are giving ways for players to intentionally crash clients! -Nodrak
var t = copytext(sanitize(input(user, "What name would you like to put on this card?", "Agent card name", ishuman(user) ? user.real_name : user.name)),1,26)
if(!t || t == "Unknown" || t == "floor" || t == "wall" || t == "r-wall") //Same as mob/new_player/prefrences.dm
if(!t || t == "Unknown" || t == "floor" || t == "wall" || t == "r-wall" || t == "") //Same as mob/new_player/prefrences.dm
alert("Invalid name.")
return
src.registered_name = t
+2
View File
@@ -46,6 +46,8 @@ Header Section
</td>
</tr>
</table>
<font size='4' color='red'><b>Visit the bleeding-edge test server at <a href="byond://tekkit.fallemmc.com:8000">byond://tekkit.fallemmc.com:8000</a></b></font>
<!--
Changelog Section
-->