mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-23 13:05:44 +01:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user