mirror of
https://github.com/cyberarm/i-mic-fps.git
synced 2025-12-15 15:42:35 +00:00
Added README, rescue from missing demo file, add .gitignore.
This commit is contained in:
@@ -31,7 +31,7 @@ class IMICFPS
|
||||
Light.new(x: 0, y: 100, z: 0, diffuse: Color.new(1.0, 0.5, 0.1), game_state: self)
|
||||
|
||||
if ARGV.join.include?("--playdemo")
|
||||
@demo_data = File.read("./demo.dat").lines
|
||||
@demo_data = File.exist?("./demo.dat") ? File.read("./demo.dat").lines : ""
|
||||
@demo_index= 0
|
||||
@demo_tick = 0
|
||||
|
||||
|
||||
Reference in New Issue
Block a user