mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-11 18:53:06 +00:00
refactor 'dir = ' into 'set_dir()'
This should have little/no gameplay effect right now, just paving the way for directional lights. Replaced handle_rotation() on buckly things with this. Signed-off-by: Mloc-Argent <colmohici@gmail.com>
This commit is contained in:
@@ -25,7 +25,7 @@
|
||||
New(loc, var/h = 30)
|
||||
blobs += src
|
||||
src.health = h
|
||||
src.dir = pick(1,2,4,8)
|
||||
src.set_dir(pick(1,2,4,8))
|
||||
src.update_icon()
|
||||
..(loc)
|
||||
return
|
||||
@@ -195,7 +195,7 @@
|
||||
|
||||
New(loc, var/h = 10)
|
||||
src.health = h
|
||||
src.dir = pick(1,2,4,8)
|
||||
src.set_dir(pick(1,2,4,8))
|
||||
src.update_idle()
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user