aboutsummaryrefslogtreecommitdiff
path: root/update.lua
diff options
context:
space:
mode:
authorRibbonCable <ambiguousmachine@gmail.com>2022-02-20 20:16:26 -0800
committerRibbonCable <ambiguousmachine@gmail.com>2022-02-20 20:16:26 -0800
commit58632958abea0a00aea0e01e9897f587a1887bbd (patch)
tree3bebecb888d9298e725cd4f631b7cae98d5a476f /update.lua
parentbe10c608c87f81e55d61c715857e1657803115f1 (diff)
saved some tokens by grouping the "sxorewithzeros" thing
Diffstat (limited to 'update.lua')
-rw-r--r--update.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/update.lua b/update.lua
index e2115aa..a0a8f92 100644
--- a/update.lua
+++ b/update.lua
@@ -5,6 +5,7 @@ circletimex = sin(t())*3 -- for elements that move in a circle (respawn timer)
circletimey = cos(t())*3
screenshakex = sin(shake+t())*shake
screenshakey = sin(shake+gt/2.1)*shake
+scorewithzerosstore = scorewithzeros(tostring(currentscore),4)
--stuff for scrolling background and respawning
if gameover then