Warning fixes

0 is considered null, insetad of an integer. Silly.
This commit is contained in:
skull132
2016-02-21 16:26:12 +02:00
parent c462205540
commit c2b43989ed
+2 -2
View File
@@ -25,9 +25,9 @@
var/warning_severity
switch (alert("Set warning severity", null, "Standard", "Severe"))
if ("standard")
warning_severity = 0
warning_severity = "0"
if ("Severe")
warning_severity = 1
warning_severity = "1"
var/warned_computerid = null
var/warned_ip = null