mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-26 14:39:58 +01:00
Revert math (#33059)
* Revert "all this wrapping and it's not even christmas (#33035)" This reverts commitfaaf151580. * Revert "fuck me for forgetting to graph this one" This reverts commit45d7acea2f. * Revert "defines math" This reverts commit2817a1737b.
This commit is contained in:
@@ -429,7 +429,7 @@
|
||||
else if(expression[start + 1] == "\[" && islist(v))
|
||||
var/list/L = v
|
||||
var/index = SDQL_expression(source, expression[start + 2])
|
||||
if(isnum(index) && (!ISINTEGER(index) || L.len < index))
|
||||
if(isnum(index) && (!IsInteger(index) || L.len < index))
|
||||
to_chat(usr, "<span class='danger'>Invalid list index: [index]</span>")
|
||||
return null
|
||||
return L[index]
|
||||
|
||||
Reference in New Issue
Block a user