Updates SDQL2 to the latest TG version and adds variable protection. (#17997)

* SDQL2 update

* fix that verb

* cl

* fix that

* toworld

* this is pointless

* update info

* siiiiick..

* vv edit update

* fix that

* fix editing vars

* fix VV

* discord protection

---------

Co-authored-by: Matt Atlas <liermattia@gmail.com>
This commit is contained in:
Matt Atlas
2023-12-25 17:10:35 +00:00
committed by GitHub
co-authored by Matt Atlas
parent af318acfc1
commit 12487c94bb
53 changed files with 2014 additions and 1042 deletions
+1 -1
View File
@@ -206,7 +206,7 @@ var/const/OVERMAP_SPEED_CONSTANT = (1 SECOND)
if(position[i] < 0)
deltas[i] = CEILING(position[i], 1)
else if(position[i] > 0)
deltas[i] = Floor(position[i])
deltas[i] = FLOOR(position[i])
if(deltas[i] != 0)
position[i] -= deltas[i]
position[i] += (deltas[i] > 0) ? -1 : 1